Hi,
Someone please tell me how retry mechanism works in a very simple way in RE-Framework?
I’m really confused on this!
Hi,
Someone please tell me how retry mechanism works in a very simple way in RE-Framework?
I’m really confused on this!
The Retry mechanism in the REF will retry the item but not trigger the Retries in Orchestrator. So let’s say you retry an item 3 times in your code then it changes to Failed, then Orchestrator will set it as Retried, and when your process picks up the item again, it will peform retries 3 times again. It would basically do 9 retries (3 times 3), because you would have your Queue do 3 retries and the code would do 3 retries. I think many devs will have the code set to not do retries and let the Queue handle. On the other hand, I believe the localized retries along with the Queue retries is actually a good way to go about it, because some processes require many retries and will clutter up your queue. So, by setting your code to retry let’s say 5-10 times and have a lower retry for Queues, will allow it to handle those random application exceptions locally, and if it still fails, then attempt to process the item potentially on another machine or robot user.
Hey sorry, I not asked the definition. I need the logice they are using RE-Framework. Which i can explain easily in Interview!
When you are creating the queue you can provide the Max of retries in the Orchestrator.
Check the below image for better understanding.
Hope it helps!!
In RE-Framework, the retry mechanism can be configured both in the Config file and in the Queue items.
By combining these two retry mechanisms, you can control how many times the robot tries to process a failed transaction, ensuring that the automation is robust and can handle temporary issues or errors gracefully.
To understand properly just open retrytransactionstatus.xaml and see the xaml…
It has only 4 conditions in it
First check if retry number is provided in config or not
If provided will check if the current retry number is max or more retries are there
If more are there then it check if it is queue based retry or a config based…if queue based retry is taken care in queue and it would increment transaction number…if config based it would incremnet retry number but not the transaction jumber so that same transaction repeats again
Just have a loom at reuired xaml and it would be clear
Cheers