<?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 Multiple Processes running from CMD in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Multiple-Processes-running-from-CMD/m-p/75210#M27815</link>
    <description>Hi ,

I am writing a .bat file, in which have written two commands as follows, to execute two processes "Process1" and "Process2".

&amp;nbsp;

"C:\Program Files\Blue Prism Limited\Blue Prism Automate\AutomateC.exe" /sso /run "Process1"

"C:\Program Files\Blue Prism Limited\Blue Prism Automate\AutomateC.exe" /sso /run "Process2"

&amp;nbsp;

I need to run Process2 only after completion of Process1, but in my case after triggering Process1 immediately Process2 is triggering.

is there any command that I can use in .bat file, so that I can run Process2 only after completion of Process1.

&amp;nbsp;

I tried fetching Session Id of "Process1", so that with the help of status of that session Id I will introduce wait in a loop.

after the loop I will run the&amp;nbsp; "Process2"

&amp;nbsp;

Can any one help me in providing the .bat command, to get the session id of the process which I am running from .bat file?

&amp;nbsp;

Thanks and Regards,

sudharsan.</description>
    <pubDate>Wed, 17 Oct 2018 11:16:00 GMT</pubDate>
    <dc:creator>Sudharsana_RaoT</dc:creator>
    <dc:date>2018-10-17T11:16:00Z</dc:date>
    <item>
      <title>Multiple Processes running from CMD</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Multiple-Processes-running-from-CMD/m-p/75210#M27815</link>
      <description>Hi ,

I am writing a .bat file, in which have written two commands as follows, to execute two processes "Process1" and "Process2".

&amp;nbsp;

"C:\Program Files\Blue Prism Limited\Blue Prism Automate\AutomateC.exe" /sso /run "Process1"

"C:\Program Files\Blue Prism Limited\Blue Prism Automate\AutomateC.exe" /sso /run "Process2"

&amp;nbsp;

I need to run Process2 only after completion of Process1, but in my case after triggering Process1 immediately Process2 is triggering.

is there any command that I can use in .bat file, so that I can run Process2 only after completion of Process1.

&amp;nbsp;

I tried fetching Session Id of "Process1", so that with the help of status of that session Id I will introduce wait in a loop.

after the loop I will run the&amp;nbsp; "Process2"

&amp;nbsp;

Can any one help me in providing the .bat command, to get the session id of the process which I am running from .bat file?

&amp;nbsp;

Thanks and Regards,

sudharsan.</description>
      <pubDate>Wed, 17 Oct 2018 11:16:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Multiple-Processes-running-from-CMD/m-p/75210#M27815</guid>
      <dc:creator>Sudharsana_RaoT</dc:creator>
      <dc:date>2018-10-17T11:16:00Z</dc:date>
    </item>
    <item>
      <title>Refer Utility AutomateC.. or…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Multiple-Processes-running-from-CMD/m-p/75211#M27816</link>
      <description>Refer Utility AutomateC.. or Search Dynamic in Documents. You will get the PDF with details needed.</description>
      <pubDate>Sat, 24 Nov 2018 20:55:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Multiple-Processes-running-from-CMD/m-p/75211#M27816</guid>
      <dc:creator>amith1990</dc:creator>
      <dc:date>2018-11-24T20:55:00Z</dc:date>
    </item>
  </channel>
</rss>

