I don’t know why but I am getting perplexed at understanding Queue retries.
I am sharing one scenario below -
- I have declared a queue with retry 1
- There are ten items in the queue
- The fifth item encounters one system exception
- Will the bot retry immediately once again or it will do it later ?
@Ritaman_Baral Bot will create clone of it and place at last. It will process after remaining queue items
- I have set the retry to 2.
How this mechanism works given the 1st retry also failed?
The retry number refers to the number of times a failed process or job is automatically retried by the system. Since you are dealing with the queues, it can be set in the orchestrator.
In the first scenario where the retry number is 1, if a job fails, BOT will automatically retry the process one more time. If the first retry attempt is successful, the process is marked as completed. However, if the second attempt also fails, the process is marked as failed, and no further retries are performed.
In the second scenario, where the retry number is set to 2, if a job fails, BOT will automatically retry the process two more times. Original queue item status turns to Retried & a new queue item will be created. Let’s say even if that fails, another similar copy with the new status will be created & the 1st retried queue item will again become retried. This keeps on continuing for the number of retries that you have specified in the Orch.
For business exceptions, retries are not applied because these kind of exceptions are marked based on the requirements provided by the client team. If they suggest the dev team to mark the item as an exception based on some rules, then there is no point in retrying such data again & again.
Hope this helps,
When the queue is failed by any system exception, business exceptions or by any chance. It will be makes a new queue and add at last of the queues. After execution of all queues, the retry queues will execute.
Hope it helps!!
When you set the retry mechanism to 2 in UiPath, it means that if an activity fails, UiPath will automatically retry the activity up to two times. It will place at last and will process others in this sequence, new-> already retried and then this one. If it again fail then it place at last.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.