Hello
I want to be able to retry failed queue items at will and the options I have tried are not working…
The auto retry in Orchestrator is not an option since an immediate retry will still have my queue items fail, so I want to be able to retry them once a day/ at given hours.
I cannot see any activity in Studio to retry queue items, and I was considering using Delete Queue Items and Add queue Item as to clone the items instead of retrying them but turns out you can only use Delete Queue items for New items…
I saw a comment online considering the option of retrying items through an HTTP call… anyone have any clue on this? or any other ideas on how this could be done? Thank you
Hi @idoia.fernandez
UiPath does not provide a studio activity to retry already failed queue items. The supported approach is either:
- Enable Queue Auto Retry in Orchestrator (immediate retry only).
- Use Orchestrator API to set failed items for retry.
- Re-add the transaction data as a new queue item.
For ref: Orchestrator - Managing Queues in Orchestrator
OR
Orchestrator - Queue Items requests
Happy Automation
Hi @idoia.fernandez ,
Try these steps:
- When a queue item fails, save its data (Reference, SpecificContent, retry count, etc.) to a separate Retry Queue or database.
- Create a scheduled process that runs once a day (or at specific hours).
- The process reads the failed items and creates new queue items using Add Queue Item.
- Include a retry counter to avoid infinite retries.
Thanks
you can handle this using the Orchestrator API. Create a small process and schedule it to run once a day or at a specific time. It can find the failed queue items and retry them.
This would be better than deleting and re-adding the items, as you can keep the queue history.
thank you
how would I make an Orchestrator API call to retry an item?
Hi
do you know how I could make this call? Thank you
Hi @idoia.fernandez,
You can use the Postpone Transaction Item activity. You need to provide current Transaction Item, Postpone date and time until which you want to postpone the transaction item. Check the below link.
Instead of failing the transaction, you can postpone it for re-processing. This can be useful in scenarios where you know the issue is temporary and is likely to be resolved after some time. Once the postpone time is reached, the transaction can be picked up again for processing.
Thanks!
First get the failed items using the QueueItems OData API, then call the retry operation for the required items. You can schedule this process to run once a day at your preferred time.
Pls check this similar thread might be helpful:
Retrieve the queue item’s Id and RowVersion first using GET /odata/QueueItems, then call SetItemReviewStatus with status = “Retried”. Orchestrator creates a new queue item in New status for reprocessing.