When a Queue Item gets stuck in the UiPath Orchestrator queue with the status “In Progress”, by default within 24h it expires and its status is automatically updated to “Abandoned”.
But, we don’t have to wait 24 hours to retrieve the item. With only 3 activities we solved this problem.
First, use Get Queue Items to capture the items that are “In Progress” in the queue, filtering them through the QueueItemStates property.
Then, loop through the items with For Each doing a Postpone Transaction Item to “delay” the processing of each item by 1 millisecond, as shown in the example below.
Note: Don’t forget to change the For Each TypeArgument property to UiPath.Core.QueueItem.
In this way, the bot will capture all queue items that are “In Progress” and postpone them by 1 millisecond. Thus updating the statuses to “New” and making the items available for consumption almost instantly.
So guys, does anyone do it differently?