cancel
Showing results for 
Search instead for 
Did you mean: 

Resource PC Commands

SasiAnbalagan
Level 4
I am trying to use "Resource PC Commands" from help topic. Especially to deal with the Session variable, instead of having controller manually updating them and for any reason we want to schedule to stop the session automatically while the session is running by changing the session variables. I could see this command as "setvar" by referring the SessionID.  Can anyone help me to understand how to use this command, in a master process and control the session variables. Appreciate your help.
2 REPLIES 2

MayurGangrade
Level 4
When you run a process using Resource PC command you get a session ID and you have to use the same to set the session variable.    Command to make your system as resource PC (BluePrism path might differ on your system. Use you credentials if it is not SSO)  -- cd C:\Program Files\Blue Prism Limited\Blue Prism Automate && automate.exe /resourcepc /sso   To run a process (Localhost) http://localhost:8181/user name &password &create name this will return: USER SET : USER AUTHENTICATED SESSION CREATED : 1830895d-fd69-461a-97f0-826b35c56b0b   Use Session ID to start a process and set variable value. http://localhost:8181/start 1830895d-fd69-461a-97f0-826b35c56b0b and  http://localhost:8181/setvar 1830895d-fd69-461a-97f0-826b35c56b0b [] type """" """" If the operation is successful, the response is 'SET' - otherwise an error code. Hope this helps.    Thank you.

SasiAnbalagan
Level 4
Thanks Mayur, Is this can be configured within the process and I can execute this systematically instead of manually doing it.