Hi ,
I am writing a .bat file, in which have written two commands as follows, to execute two processes "Process1" and "Process2".
"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"
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.
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 "Process2"
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?
Thanks and Regards,
sudharsan.