<?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>topic Re: execution Order of process flow in a project using Windows scheduler in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/execution-Order-of-process-flow-in-a-project-using-Windows/m-p/459946#M29658</link>
    <description>&lt;P&gt;Force the execution order by having only one process flow.&lt;/P&gt;</description>
    <pubDate>Fri, 04 May 2018 06:20:53 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2018-05-04T06:20:53Z</dc:date>
    <item>
      <title>execution Order of process flow in a project using Windows scheduler</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/execution-Order-of-process-flow-in-a-project-using-Windows/m-p/459928#M29654</link>
      <description>&lt;P&gt;Hi SAS Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I am scheduling a project in enterprise guide which has 2 process flow but it choosing second process flow as start of execution and it is getting fail.so what is order of execution in windows scheduling? can i change it?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks you !&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 04:38:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/execution-Order-of-process-flow-in-a-project-using-Windows/m-p/459928#M29654</guid>
      <dc:creator>ramanandyadav</dc:creator>
      <dc:date>2018-05-04T04:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: execution Order of process flow in a project using Windows scheduler</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/execution-Order-of-process-flow-in-a-project-using-Windows/m-p/459946#M29658</link>
      <description>&lt;P&gt;Force the execution order by having only one process flow.&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 06:20:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/execution-Order-of-process-flow-in-a-project-using-Windows/m-p/459946#M29658</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-05-04T06:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: execution Order of process flow in a project using Windows scheduler</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/execution-Order-of-process-flow-in-a-project-using-Windows/m-p/460012#M29662</link>
      <description>&lt;P&gt;Inside EG you can use an ordered list to run thing in the order you want, but I am not sure it works when you schedule it.&lt;/P&gt;
&lt;P&gt;Maybe better to use one flow...:0&lt;/P&gt;
&lt;P&gt;//Fredrik&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 12:17:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/execution-Order-of-process-flow-in-a-project-using-Windows/m-p/460012#M29662</guid>
      <dc:creator>FredrikE</dc:creator>
      <dc:date>2018-05-04T12:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: execution Order of process flow in a project using Windows scheduler</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/execution-Order-of-process-flow-in-a-project-using-Windows/m-p/460147#M29672</link>
      <description>&lt;P&gt;Yes, you can change the order. By default, when you schedule a project, the whole project is run (in its default order).&amp;nbsp; For example, if you look at the EGScript1.vbs (the VBScript file created by EG&amp;nbsp;that Windows Task Scheduler runs to execute your project), in it you'll see where the whole project is run:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-----&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' run the project&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-----&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; prjObject.run&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If Checkerror("Project.run") = True Then&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit Sub&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Instead of using that code, you can replace it with code that gets the desired process flows from the project's ContainerCollection and run them in whatever order you desire. For example:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;prjObject.ContainerCollection.Item("Process Flow 2").Run&lt;BR /&gt;&amp;nbsp;prjObject.ContainerCollection.Item("Process Flow 1").Run&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Casey&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 19:56:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/execution-Order-of-process-flow-in-a-project-using-Windows/m-p/460147#M29672</guid>
      <dc:creator>CaseySmith</dc:creator>
      <dc:date>2018-05-04T19:56:58Z</dc:date>
    </item>
  </channel>
</rss>

