Workflows connected to Orchestrator can get into a queue. For example, you may have one Bot Runner assigned to multiple workflows, and those workflows, in turn, may have the same scheduled start time. Multiple workflows cannot be run simultaneously by the same Bot Runner, so they will get into the queue.
Principles of queueing
- The queue has a limit of 100 workflows at a time, which applies to the entire organization.
- If the workflow is scheduled:
The system looks for all the Bot Runners with an "online" status, which are assigned to this workflow.
The first "online" Bot Runner executes the workflow.
If all of the Bot Runners are busy, the workflow goes into a queue. If the workflow already exists in the queue, it won't be put into the queue again.
- If the workflow is run by a click on the "Run now" button:
The selected in the drop-down list Bot Runner executes the workflow.
- It is impossible to select a "busy" or "offline" Bot Runner in the drop-down list.
- If the workflow is run by the webhook-link:
- In this case, the principle will be the same as in the case of the schedule, with the only difference that if the same bot is already in the queue, and some parameters are passed to the new bot to be launched, that new bot will still be added to the queue.
- If the workflow is run by the API:
- In this case, the principle will be the same as in the case of the webhook-links.