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.
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.