Difference b/w MaxRetryNumber of Config V/s Max#Retry of Queue?

Which retry number takes precedence in these scenarios?

MaxRetryNumber in Config =0 and Max#Retry in Queue =1 /Auto Retry= OFF.
MaxRetryNumber in Config =2 and Max#Retry in Queue =1 /Auto Retry=OFF
MaxRetryNumber in Config =1 and Max#Retry in Queue =2 /Auto Retry=OFF
MaxRetryNumber in Config =2 and Max#Retry in Queue =2 /Auto Retry=OFF
MaxRetryNumber in Config =2 and Max#Retry in Queue =2 /Auto Retry=ON
MaxRetryNumber in Config =2 and Max#Retry in Queue =1 /Auto Retry=ON
MaxRetryNumber in Config =2 and Max#Retry in Queue =3 /Auto Retry=ON

In the default REFramework using queues, if you set MaxRetryNumber to anything higher than 0, the workflow will retry the transaction that number of times. If it is set to 0, the Auto Retry mechanism in Orchestrator will be used instead.

If you’re using anything aside from a queue item as the transaction item, the number of retries is whatever MaxRetryCount is set to.

3 Likes

Sorry, I wanted to know the outcome in each of the above usecases.

MaxRetryNumber in Config =0 and Max#Retry in Queue =1 /Auto Retry= OFF - Does not retry
MaxRetryNumber in Config =2 and Max#Retry in Queue =1 /Auto Retry=OFF - Retries 2 times
MaxRetryNumber in Config =1 and Max#Retry in Queue =2 /Auto Retry=OFF - Retries 1 time
MaxRetryNumber in Config =2 and Max#Retry in Queue =2 /Auto Retry=OFF - Retries 2 times
MaxRetryNumber in Config =2 and Max#Retry in Queue =2 /Auto Retry=ON - Retries 2 times
MaxRetryNumber in Config =2 and Max#Retry in Queue =1 /Auto Retry=ON - Retries 2 times
MaxRetryNumber in Config =2 and Max#Retry in Queue =3 /Auto Retry=ON - Retries 2 times

2 Likes

very useful

Hi,
Thanks for this thread.
Based on your reply, looks like retry is based on Config file even queue value is available. So, is this scenario only for a non-queue item based transaction.?

Thanks

Yes for non queue based ,
we need to set up retries for transaction . So for that we use this max retry number in config file

@JayakumarSanthanam

Hope it helps you

Nived N :robot:

Happy Automation :slight_smile: :slight_smile:

Hi,
For a queue based, if value exists in both config and queue level, which one would be used for retry count.
Thanks