Use the GetProcessJobSysID component
Retrieves the process job SysID of a process job record when an automation gets executed by a robot. By using the GetProcessJobSysID component in the RPA Desktop Design Studio application, you can identify when the robot is in a free state to execute a process or you can identify the state of the process job.
Before you begin
Role required: none
About this task
If a robot is working on an automation, a process job record for the execution is created in RPA Hub. The robot is then moved to the Busy state. For more information on the different states of a robot, see Robot states form. If you try to execute another automation in the Busy state against this robot, the automation doesn’t execute and a process job record is created in the Skipped state. Use the process job SysID to identify when the robot is free and to assign the skipped process jobs to the robot for execution.
The process job SysID can be a passed as an input parameter to a subflow when the subflow is used to check the completion of a process job. When the process job is completed, you can start a new process on the same robot.
You can’t retrieve the process job SysID by running the GetProcessJobSysID component from RPA Desktop Design Studio. The component can retrieve the process job SysID only during the execution of an automation by a robot. If you run the component from RPA Desktop Design Studio, an error is displayed.