Orchestrator - Retrying Failed Cases after specific interval

Hello Guys,

I’m using Queues to get the transaction processed where I have set the Number of Retries as 3.

But when the bot gets a specific error, I want bot to move to next item and retry the current item only after an interval that will be specified and should only be picked by the robot which has tried to execute it in the first attempt.

For Eg.
Step 1: Get the file name from Orchestrator Queue
Step 2: BOT needs to open that file
Step 3: BOT needs to update the file and save it
Step 4: Close the file and mark transaction as successful

Current case: If the file which BOT is trying to open is already open with some other user/BOT, it retries the current transaction for 3 times and marks it as failed.

Required case: If the file which BOT is trying to open is already open with some other user/BOT it needs to pick-up to next transaction and retry current transaction only after 15 mins.

How can i implement this?
Any suggestions most welcome.

Regards,
Mehul Malde.

1 Like

Hey @maldemehul3

When the file is being used by other bot you can postpone the queue item instead of marking it as failed

When you postpone the item, you can specify the duration as 15mins or any as required

So that the bot will process this item again after that postponed duration

Hope this helps

Thanks
#nK