Process job states in RPA Hub
Summarize
Summary of Process job states in RPA Hub
A process job in ServiceNow RPA Hub represents the execution of a bot process on a robot. Understanding the various states of a process job helps customers track bot execution progress, handle conflicts between simultaneous bot triggers, and diagnose execution outcomes effectively.
Show less
Process Job States and Their Meanings
- Running: Indicates a bot process is actively being executed by a robot.
- Canceled: Occurs when a bot process execution is manually canceled or interrupted by another bot process with force start enabled, causing the first to cancel and the second to run.
- Success: The bot process completed execution successfully.
- Failed: The bot process execution did not complete successfully.
- Skipped: Happens when multiple bot processes are triggered on the same unattended robot, and only one can run due to priority, timing, or robot state. Skipped processes include those triggered while another process is running without force start, lower priority concurrent processes, or additional start requests before execution begins.
- Abandoned: Applies when a previously running process job did not update its status to a completed state (Success, Failed, etc.) due to interruptions such as network failures or robot state changes. When the robot reconnects and transitions to Available, the last known running process job is marked as Abandoned.
Practical Implications for ServiceNow Customers
- Monitoring process job states enables proactive management of bot executions and troubleshooting execution failures or cancellations.
- Understanding the Skipped state helps in managing concurrent bot automation requests on unattended robots and optimizing scheduling and priority settings.
- Recognizing the Abandoned state assists in identifying bot executions interrupted unexpectedly, prompting investigation into connectivity or robot health issues.
- Force start settings directly impact process job transitions between Running and Canceled states, providing control over job interruptions.
A process job represents the execution of a bot process on a robot.
| State | Scenario |
|---|---|
| Running | When a bot process is being executed by a robot, the status of the process job is updated to Running. |
| Canceled | When a bot process execution is canceled manually, the process job status is updated to Canceled. If Bot process 1 is already executing, and Bot process 2 with force start enabled is triggered, then the process job status of Bot process 1 is updated to Canceled, and the process job status of Bot process 2 is updated to Running. |
| Success | After a bot process is executed successfully by a robot, the process job status is updated to Success. |
| Failed | When a bot process execution fails to complete, the process job status is updated to Failed. |
| Skipped | Consider the following scenarios when more than one bot processes are triggered for the same unattended robot:
|
| Abandoned |
|