Choosing a strategy for executing jobs in UiPath

<< Click to Display Table of Contents >>

Navigation:  Low-code Process Automation > Studio Cloud - Authoring environment > Bizagi Studio > Bots > UiPath bot integration > Unattended bots > Adding a UiPath Process to your configured connection >

Choosing a strategy for executing jobs in UiPath

Overview

A strategy in UiPath defines how the robots of the environment execute the jobs in a process. For instance, you may choose to execute a job by one or more specific robots, a fixed number of robots or all of them. Bear in mind that strategies can be used when a UiPath process is configured. The following article presents the 3 types of strategies that you can configure.

 

Strategies in UiPath

UiPath offers 3 different strategies that can be configured to execute the jobs in a process:

All: all the available robots execute the job.

Specific: a specific robot or list of robots execute the job.

RobotCount: a specific number of robots execute the job.

 

Choosing the All strategy

If you select the All strategy, all the available robots execute the job. Take into account that you can choose this strategy only if the fire and forget option is selected.

 

UIPath-bot36

 

Choosing the Specific strategy

If you select the Specific strategy, a specific robot or list of robots execute the job. Using this strategy, you may specify the robot by its ID or by its name.

 

UIPath-bot37

 

Using the specific strategy by ID

If you choose the By id option and the fire and forget option is not selected, the "robotid" parameter will appear in the next step of the configuration wizard under the Input Structure. The parameter indicates the id of the robot that will execute the job.

 

UIPath-bot38

 

On the other hand, if the fire and forget option is selected, the "robots":[{"id":"XXXXXXXX"}]" array will appear in the next step of the configuration wizard under the Input Structure. The array receives the id's of the robots that will execute the job.

 

UIPath-bot39

 

Using the specific strategy by name

If you choose the By name option, the list of all the available robots is shown. If the fire and forget option was not selected, Take into account that you can only select one robot to execute the job.

 

UIPath-bot50

 

On the other hand, if the fire and forget option was selected, You can select all the robots that you want to execute the job from the list displayed.

 

UIPath-bot46

 

Choosing the RobotCount strategy

If you select the RobotCount strategy, you can indicate the number of robots that will execute the job.

 

UIPath-bot40

 

If the fire and forget option is not selected, the Number of robots option will be disabled with its value in 1. This means that only one robot will execute the job.

 

UIPath-bot41

 

On the other hand, if the fire and forget option is selected, the "noOfRobots" parameter will appear in the next step of the configuration wizard under the Input Structure. The parameter indicates the number of robots that will execute the job.

 

UIPath-bot42


Last Updated 1/6/2022 4:35:23 PM