I have a question in interview?

Question:
scenario: In the queue items continuously fail, we have 1000 queues in this all 1000 will fail but we don’t want like that if 4 queues continues fail it should stop. How to handle this?

If you’re using REF, you can make use of the consecutive application exceptions logic.

Hi @copy_writes

In RE Framework= Set MaxConsecutiveSystemExceptions to any number Eg: 4 in Config File. If queue items fails continuously 4 times. It will stops the process.
In Linear= Take Couter Varibale and check if its = 4 then stop the process.

Hope it will helps you :slight_smile:
Cheers!!

Hi,

UiPath RE Framework Config.xlsx file set 'MaxConsecutiveSystemExceptions = 4 (some value)
Then bot will stop the process after 4 consecutive system exceptions.