Execution priority of bot processes in RPA Hub
Learn how to prioritize bot processes efficiently and avoid triggering multiple automations on the same robot. The bot processes are organized by both robots and Windows user credentials.
Scheduled trigger
When multiple bot processes are scheduled to run at the same time, consider the following scenarios to understand how bot process execution is prioritized based on order number and Windows credentials.
The following bot processes use robots 1 and 2 with different priority orders and the robots use different credentials to login to a Windows machine.
- Bot process 1
- Robot: Robot 1
- Order: 2
- Windows credential: SN\User 1
- Bot process 2
- Robot: Robot 1
- Order: 3
- Windows credential: SN\User 2
- Bot process 3
- Robot: Robot 2
- Order: 4
- Windows credential: SN\User 3
- Bot process 4
- Robot: Robot 2
- Order: 1
- Windows credential: SN\User 4
- Bot processes are grouped by the robot.
- Within each group, the bot process with the lowest priority number is executed.
- Robot 1: Bot Process 1 (priority 2) executes; Bot Process 2 (priority 3) is skipped.
- Robot 2: Bot Process 4 (priority 1) executes; Bot Process 3 (priority 4) is skipped.
The following bot processes use high-density robots 1 and 2 with different priority orders and use same credentials to login to a Windows machine.
- Bot process 1
- Robot: Robot 1
- Order: 2
- Windows credential: SN\User 1
- Bot process 2
- Robot: Robot 1
- Order: 3
- Windows credential: SN\User 1
- Bot process 3
- Robot: Robot 2
- Order: 4
- Windows credential: SN\User 1
- Bot process 4
- Robot: Robot 2
- Order: 1
- Windows credential: SN\User 1
- Bot processes are first grouped by the robot.
- Within each group, the bot process with the lowest priority number is selected.
- Robot 1: Bot Process 1 (priority 2) is selected over Bot Process 2 (priority 3).
- Robot 2: Bot Process 4 (priority 1) is selected over Bot Process 3 (priority 4).
However, Bot Process 1 and Bot Process 4 cannot be launched in the same Windows session simultaneously due to shared credentials (SN\User1). To resolve this conflict, bot processes are grouped by Windows credentials, and the process with the lowest priority number is executed:
- SN\User1: Bot Process 4 (priority 1) executes.
- SN\User1: Bot Process 1 (priority 2) is skipped.
Manual trigger
When a bot process with multiple high-density robots is triggered using the Start Process button, consider the following scenarios to understand how bot process execution is prioritized for a robot.
- Scenario 1: Robots with the same Windows credentials
- The Bot process 1 uses high-density robots 1 and 2 with the same credentials to login to a Windows machine. When the Start Process button is clicked on the Bot process 1 for Robot 1 and Robot 2, any one robot is picked randomly to execute the bot process. The process job with the Skipped status is created for the other robot.
- Scenario 2: Robots with different Windows credentials
- The Bot process 1 uses high-density robots 1 and 2 with different credentials to login to a Windows machine. When the Start Process button is clicked on the Bot process 1 for Robot 1 and Robot 2, both the robots execute the bot process simultaneously.