During testing, there might be items that are left in an “In Progress” state. How can a developer mark these items as failed and retry the same item from Orchestrator?
Currently it gets marked failed automatically only after 24 hrs. I want to cut down the time to reload a new item and instead I can reuse the same item during dev and testing phase by retry. Any suggestion
Hey @tejaskumar.darji Use Get TransactionItem activity to read the item from the queue and pass the output to Set Transaction Item activity to update the status of it.
If you check the question again, you’ll see that I’m specifically looking to perform this action from Orchestrator, not from Studio by writing code. I’m trying to understand how a developer can mark an “In Progress” item as failed and retry it directly through Orchestrator.
Also the one you suggested would not work with in progress item isnt it?
It is not possible in the current version of the Orchestrator.
You can actively delete the in progress items or wait for them to become abandoned.
It is possible from the Studio. Not with get ‘transaction item’ but with get ‘queue items.’. Use the latter with an in-progress filter and you can then itterate through the found queueitems and set them to succeess or failed using ‘set transaction status’.
Ideally creating a small sequence to get queue items in in progress and immeidately a loop with set transaction status would do the job
That the option
Or if you are ok even if thr item is left in in progress..you can create new item by downloading the item and then uploading a json structure to create new
Ok thank you for clarifying.
Exactly I felt the same that such function should be there or if not it should get marked failed when user reset the code in UiPath itself.
This things adds extra time during dev and testing and can help developers design automations faster.