I created a simple app to get queue item and write into the textpad. However, my script got a problem and i can fix it. However, when i checked the status of the transactions in my queue, I found that all many of them are “In Progress”. I want to retry these transactions but the boxes are all disabled (i.e. I cannot mark them and click “Retry Items”,
Using the Get Transaction Data activity, you can only extract the transactions with the New status. However, using the Get Queue Items is capable of extracting all queue items at once. And in the properties of this item, you can select transactions of what status you want to extract from the queue. So, if you want to retry the items under “In Progress” set the property to extract items of status “In Progress”. You can then loop the results and do the processing for each item.
Thanks @Lahiru.Fernando for the information. I just reviewed the “Get Queue Items” activity and which output a IEnumerable and I can iterate to process the task. I got 2 questions:
By using this approach, what activity should be used to update the Queue Item’s status?
If I have multiple robots to handle the same Queue, what would be the result?
Hi You can retrieve all the items in in_progress status and then postpone those items to now to make the status new again. I’ve added the sequence for this. Just write the queue_name argument and use it.InprogressToNewStatu.xaml (8.2 KB)