cancel
Showing results for 
Search instead for 
Did you mean: 

Stop Process through Web services

Yeswa_Vaibhav_1
Level 6
Hi , I am running process through web services and how can i stop that process running in control room? using web services itself. Please let me know if any one having any ideas.
2 REPLIES 2

ashish.easow
Staff
Staff
The HTTP API has a Stop command, though you need the session ID, which would be present in the DB or when you start it. (you should probably save the session idds in the workqueue - GetSessionId() ) Build a Blue Prism Process (lets call it StopAllSessions) to work through all Pending Items in the “SessionID” Queue and use a command line (use the Utility – Environment VBO) to send a /requeststop to each Session ID (see help pages) - Expose this as a webservice. The HTTP API also has a Shutdown command to close down the resource PC.

Yeswa_Vaibhav_1
Level 6
Hi ashish, Thank you for your help, can you let me know where i can find the session id in DB tables exactly. How to get Session id's from Workqueue's. Please let me know in detail.   Thank you Vaibhav