Queues question

Hi,
In REFramework, when I am working with queues, get transaction item puts queue status to progress. But if for some error the bot stopped, in the next run the same queue item is not picked up because the item status changed to progress. How do I deal with this?

Thank you,

Hi @A_Learner ,

In reframework, you need to configure the ‘SetTransactionStatus.xaml’ which will be called in your process state of main.xaml in such a way that for exceptions that cause the workflow to stop you can update the status of the failed transaction item to Failed using Set Transaction state activity.

Once you update the status of the failed transaction item bot will shoule be able to retry the item based one queue retry or the one you have configured in config file.

Try going through the retry mechanism of reframework to get a better understanding of this.

Let me know if you have any questions on the same.

Happy learning and automating.!!

Thanks,
Gautham.

@A_Learner,

REFramework don’t have control over execution stopped manually. It can handle only exceptions like system exception, business exception.

If System Exception occurs it has mechanism to set the transaction status to Failed and if Queue is created with Auto Retry enabled, new transaction item will get attended to queue automatically.

image

Thanks,
Ashok :slight_smile:

How to handle when the bot is stopped manually without missing to process the queue item? Thank you,

@A_Learner,

In that case no easy or automated way available. You will have to add the queue item again which is easiest way.

The In progress one will get abandoned in 24 hrs.

Thanks,
Ashok :slightly_smiling_face:

1 Like

A reviewer will put the abandoned item to retry, correct? If I manually add the queue item again, will it not get processed twice?

Thank you,

Hi @A_Learner ,

You can inform that you have added the item as new one and no need to retry that item to the bot support/admin team who reviews the queue item.

To avoid redundant processing of same item

Thanks,
Gautham.

1 Like

Nope, In progress transactions will be marked as abandoned automatically.

You can’t mark for review transactions in in-progress.

Thanks,
Ashok :slightly_smiling_face:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.