I'll push further @sivageli solution
(Solution 1):
1) If you open your Shell command (windows+R, then type "cmd" and click OK) and then go under "Blue Prism Automate", you'll find AutomateC.exe
2) Now if you launch "AutomateC.exe", it will ask you to put /help option
3) With the command "AutomateC.exe /help", i figured out that there is a status command formated like follow :
> AutomateC.exe /status SESSION_ID /user username password (i used sso authentication in my case)
View attachment 1542810276590.png
4) The result of this command output the status of the session that's running
Now the problem is transformed to :
- how you'll shared your session id / or how you'll get them
- how to launch this command from an action stage (maybe there is a Standard action for this one, i'm not sure)
*
(Solution 2) Otherwise, if you could estimate how long the process 1; scheduling process 2 after this duration could also be a hint if it's acceptable
*
(Solution 3) Other solution is to share a Queue
=> So Process A have a Queue A, all bots will work on this queue and update it on the flow
=> Process B will be launched and check if Queue A has any item that are not processed yet (if yes the exist, otherwise process B will be launched)