<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Project baseline - is there a way to schedule a baseline? in ITSM forum</title>
    <link>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641784#M213563</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been asked if there is a way to schedule (or an automatic procedure) a baseline in the project related lists?&lt;/P&gt;&lt;P&gt;I was thinking a kind of any specified date or time to have a 'snapshot' of the project tasks state and actual dates and progress.&lt;/P&gt;&lt;P&gt;I suggested scheduling reports, but it is not the same thing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for any help,&lt;/P&gt;&lt;P&gt;Skender&lt;/P&gt;</description>
    <pubDate>Mon, 16 Feb 2015 17:16:04 GMT</pubDate>
    <dc:creator>skendy</dc:creator>
    <dc:date>2015-02-16T17:16:04Z</dc:date>
    <item>
      <title>Project baseline - is there a way to schedule a baseline?</title>
      <link>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641784#M213563</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been asked if there is a way to schedule (or an automatic procedure) a baseline in the project related lists?&lt;/P&gt;&lt;P&gt;I was thinking a kind of any specified date or time to have a 'snapshot' of the project tasks state and actual dates and progress.&lt;/P&gt;&lt;P&gt;I suggested scheduling reports, but it is not the same thing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for any help,&lt;/P&gt;&lt;P&gt;Skender&lt;/P&gt;</description>
      <pubDate>Mon, 16 Feb 2015 17:16:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641784#M213563</guid>
      <dc:creator>skendy</dc:creator>
      <dc:date>2015-02-16T17:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Project baseline - is there a way to schedule a baseline?</title>
      <link>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641785#M213564</link>
      <description>&lt;P&gt;Hi Skender,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;There is already and OOB related list on projects called "Baseline" , you can use it to efficiently create and use project baselines.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Read this for more info&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;A href="http://wiki.servicenow.com/index.php?title=Updating_a_Project_in_Progress#View_the_Project_Baseline" title="http://wiki.servicenow.com/index.php?title=Updating_a_Project_in_Progress#View_the_Project_Baseline"&gt;Updating a Project in Progress - ServiceNow Wiki&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Feb 2015 17:44:52 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641785#M213564</guid>
      <dc:creator>Anurag Tripathi</dc:creator>
      <dc:date>2015-02-16T17:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Project baseline - is there a way to schedule a baseline?</title>
      <link>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641786#M213565</link>
      <description>&lt;P&gt;Hi Anurag,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Yes, I have already added it,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;but I was thinking of an automatic baseline (like the scheduled reports). &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Anyway, is a P3 priority for the client.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Skender&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Feb 2015 08:19:17 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641786#M213565</guid>
      <dc:creator>skendy</dc:creator>
      <dc:date>2015-02-17T08:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Project baseline - is there a way to schedule a baseline?</title>
      <link>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641787#M213566</link>
      <description>&lt;P&gt;You may open this UI page 'create_baseline' and check its processing script .. Make use of the same in a scheduled job to automate the process of baseline creation &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://www.servicenow.com/6.0.3.0/images/emoticons/happy.png"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Feb 2015 08:42:48 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641787#M213566</guid>
      <dc:creator>Kalaiarasan Pus</dc:creator>
      <dc:date>2015-02-17T08:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Project baseline - is there a way to schedule a baseline?</title>
      <link>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641788#M213567</link>
      <description>&lt;P&gt;Hi Kalai,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Yes I understand and I appreciate your suggestion&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;but I am no expert in scripting and I do not want to make any damage now...&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Do you have any example of such script?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;The only requisite is to schedule the baseline every Friday night (for example)...&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Skender&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Feb 2015 12:30:32 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641788#M213567</guid>
      <dc:creator>skendy</dc:creator>
      <dc:date>2015-02-17T12:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Project baseline - is there a way to schedule a baseline?</title>
      <link>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641789#M213568</link>
      <description>&lt;P&gt;You can take a copy of the processing script of the ui page and use it as a base .. It is a simple gliderecord insertion and nothing complex &amp;nbsp; &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://www.servicenow.com/6.0.3.0/images/emoticons/happy.png"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Feb 2015 13:34:12 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641789#M213568</guid>
      <dc:creator>Kalaiarasan Pus</dc:creator>
      <dc:date>2015-02-17T13:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Project baseline - is there a way to schedule a baseline?</title>
      <link>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641790#M213569</link>
      <description>&lt;P&gt;Kalai, could you give me more detailed info.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;You mean put code like this to the script in the ui action?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;function onCancel() {&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; GlideDialogWindow.get().destroy();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; return false;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I looked at all the GlideRecord methods (on the right section),&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;but couldn't find anything which seemed like schedule (addActiveQuery()???)...&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Feb 2015 16:09:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641790#M213569</guid>
      <dc:creator>skendy</dc:creator>
      <dc:date>2015-02-17T16:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Project baseline - is there a way to schedule a baseline?</title>
      <link>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641791#M213570</link>
      <description>&lt;P&gt;Will try to setup a demo as soon as I get some time tomorrow &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://www.servicenow.com/6.0.3.0/images/emoticons/happy.png"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Feb 2015 20:10:32 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641791#M213570</guid>
      <dc:creator>Kalaiarasan Pus</dc:creator>
      <dc:date>2015-02-17T20:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Project baseline - is there a way to schedule a baseline?</title>
      <link>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641792#M213571</link>
      <description>&lt;P&gt;This is a sample code for the baseline .. Paste and check in a scheduled job &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://www.servicenow.com/6.0.3.0/images/emoticons/happy.png"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;(function () {&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var baseline_name = '';&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; var projects = new GlideRecord("pm_project");&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; projects.addEncodedQuery("active=true^state=1");&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; projects.query();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; while (projects.next()) {&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var baseline = new GlideRecord("planned_task_baseline");&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; baseline.addQuery("top_task",projects.getValue('sys_id'));&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; baseline.query();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(!baseline.next())&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; baseline_name = gs.now();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; baseline.name = baseline_name.trim();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; baseline.top_task = projects.getValue('sys_id');&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; baseline.description = 'Baseline Created Using Job';&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; insertBaseLineItems(projects.getValue('sys_id'),baseline.insert());&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; function insertBaseLineItems(task_id,baseId)&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var tasks = new GlideRecord("planned_task");&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tasks.addQuery("top_task", task_id);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tasks.query();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while (tasks.next()) {&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var baseItem = new GlideRecord("planned_task_baseline_item");&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; baseItem.baseline = baseId;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; baseItem.task = tasks.getUniqueValue();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; baseItem.start = tasks.start_date;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; baseItem.end = tasks.end_date;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; baseItem.insert();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;})();&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Feb 2015 09:52:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641792#M213571</guid>
      <dc:creator>Kalaiarasan Pus</dc:creator>
      <dc:date>2015-02-18T09:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Project baseline - is there a way to schedule a baseline?</title>
      <link>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641793#M213572</link>
      <description>&lt;P&gt;I inserted this code in a scheduled job and it is correct,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;but where do I specify the Project name (or id) and where can i retrieve the baselines created automatically?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks again Kalai,&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Feb 2015 10:51:56 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641793#M213572</guid>
      <dc:creator>skendy</dc:creator>
      <dc:date>2015-02-18T10:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Project baseline - is there a way to schedule a baseline?</title>
      <link>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641794#M213573</link>
      <description>&lt;P&gt;Change this line as per your requirement&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;projects.addEncodedQuery("active=true^state=1");&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Baselines parent table is 'planned_task_baseline'. The script is for creation of baselines . You may run a scheduled report to automatically retrieve the data&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Feb 2015 13:08:22 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641794#M213573</guid>
      <dc:creator>Kalaiarasan Pus</dc:creator>
      <dc:date>2015-02-18T13:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Project baseline - is there a way to schedule a baseline?</title>
      <link>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641795#M213574</link>
      <description>&lt;P&gt;I execute the schedule job for all active projects with no errors.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I have active 71 project and so I should except 71 baselines, right?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;EM&gt;...&lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;EM&gt;var projects = new GlideRecord("pm_project");&lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;EM&gt;projects.addEncodedQuery("active=true");&lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;EM&gt;...&lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;But when I run the report on &lt;EM&gt;planned_task_baseline&lt;/EM&gt; table with no filters at all, I get as a result the old baselines (old date) and NO new ones created by the scheduled job right now...&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;What should I modify?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Skender &amp;nbsp; &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Apr 2015 09:43:36 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641795#M213574</guid>
      <dc:creator>skendy</dc:creator>
      <dc:date>2015-04-20T09:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Project baseline - is there a way to schedule a baseline?</title>
      <link>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641796#M213575</link>
      <description>&lt;P&gt;active=true query should work for all the active projects.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Apr 2015 09:56:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641796#M213575</guid>
      <dc:creator>Kalaiarasan Pus</dc:creator>
      <dc:date>2015-04-20T09:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Project baseline - is there a way to schedule a baseline?</title>
      <link>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641797#M213576</link>
      <description>&lt;P&gt;I tested the scheduled job also with other types of addEncodedQuery filters,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;but it seems that it is not populating the planned_task_baseline table. And when I create manually a new baseline for a project I see it in the updated report...&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;When I see the system log -&amp;gt; events it is executed correctly.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I am thinking what is going wrong...&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Apr 2015 10:34:10 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641797#M213576</guid>
      <dc:creator>skendy</dc:creator>
      <dc:date>2015-04-20T10:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Project baseline - is there a way to schedule a baseline?</title>
      <link>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641798#M213577</link>
      <description>&lt;P&gt;I am really sorry Kalai. IT WORKS PERFECTLY!&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I had not put the final () in the scheduled job!&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Grazie mille!&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Skender&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Apr 2015 10:52:08 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641798#M213577</guid>
      <dc:creator>skendy</dc:creator>
      <dc:date>2015-04-20T10:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Project baseline - is there a way to schedule a baseline?</title>
      <link>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641799#M213578</link>
      <description>&lt;P&gt;Kalai I noticed some behavior now:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;the scheduled job doesn't create baselines for projects which already have baselines... It creates automatically baselines for projects which do not have yet any baseline. &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I executed it two times (the first time it created 71 baselines) and the second time it didn't create any baseline...&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Is there any filter in the script which defines this behavior?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Skender&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Apr 2015 12:49:38 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641799#M213578</guid>
      <dc:creator>skendy</dc:creator>
      <dc:date>2015-04-20T12:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Project baseline - is there a way to schedule a baseline?</title>
      <link>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641800#M213579</link>
      <description>&lt;P&gt;Could it be this row in the code: &lt;EM&gt;baseItem.task = tasks.getUniqueValue();&lt;/EM&gt;?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;How can I change it so to add multiple baselines (when job executed) to the same project project?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Skender&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Apr 2015 12:55:31 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641800#M213579</guid>
      <dc:creator>skendy</dc:creator>
      <dc:date>2015-04-20T12:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Project baseline - is there a way to schedule a baseline?</title>
      <link>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641801#M213580</link>
      <description>&lt;P&gt;Could it be logical to create only one baseline per day?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;But, why not possible to create multiple baselines for a project which has (at least one) already old baselines?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Apr 2015 13:31:50 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641801#M213580</guid>
      <dc:creator>skendy</dc:creator>
      <dc:date>2015-04-20T13:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Project baseline - is there a way to schedule a baseline?</title>
      <link>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641802#M213581</link>
      <description>&lt;P&gt;I disactivated the if-control: &lt;EM&gt;if(!baseline.next())&lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Now the scheduled job cane be executed several times. &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Apr 2015 14:05:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641802#M213581</guid>
      <dc:creator>skendy</dc:creator>
      <dc:date>2015-04-20T14:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Project baseline - is there a way to schedule a baseline?</title>
      <link>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641803#M213582</link>
      <description>&lt;P&gt;The if condition checks if the baseline already exists .. If you want multiple baselines, you have to remove that ... But it's more logical to have only one baseline per project.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Apr 2015 14:10:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/project-baseline-is-there-a-way-to-schedule-a-baseline/m-p/641803#M213582</guid>
      <dc:creator>Kalaiarasan Pus</dc:creator>
      <dc:date>2015-04-20T14:10:29Z</dc:date>
    </item>
  </channel>
</rss>

