Retry scope question

Hi,
Does retry scope end when number of retries reached or when the condition is true when both are set? Is setting both condition and number of tries needed?

Thanks,

T

Hi @A_Learner

We can use retry scope in different conditions.

  1. Firstly, the retry scope has retry count which is default 3 and it has two blocks action and condition block.
  2. If we haven’t give condition, activity inside the action block will execute 3 times if every time it fails, if it executed with out any exceptions in these retries the bot comes out of retry scope.
  3. If we give any condition in condition block the bot will execute the activity inside the action block, If the condition become false it will execute 3 times untill the condition satisfies, if condition not satisfied in 3 retries the activity throws exception, If condition got satisfied in any retry the bot will come out of retry scope.

We can change the number of retries in the properties of retry scope activity and possible to give the time interval between every retry in properties panel itself.

Hope it helps!!

Hi @A_Learner

=> If you set the “Number of Retries” property in the Retry Scope, the retry mechanism will end after the specified number of retries, regardless of whether the condition specified in the “Retry On” property is true or false.
=> If you set the “Retry On” property with a condition, the retry mechanism will end when the condition becomes true. This means that if the specified condition is met before reaching the maximum number of retries, the Retry Scope will exit early.

You do not necessarily need to set both the “Number of Retries” and “Retry On” properties. It depends on your specific requirements
=> you can set the “Number of Retries” property and leave the “Retry On” property empty andf vice versa.
=> If you want a combination of both, where the retry mechanism ends either when the condition is true or the maximum number of retries is reached, you can set both properties.

It depends on the specific logic and requirements of the automation process.

Hope you understand!!
Regards

Hi @A_Learner

Retry Scope Activity
Here you get the properties with No. of Retries and Retry Interval time.
By Default: Number Of Retries is 3, so it will retry 3 times. And RetryInterval is 5 seconds.
You can modify it according to your needs.

YES, After the Number of Retries reached it will End. OR IF the Condition will TRUE, It will stop retries that time.(Ex: IF condition will True at 1st Time- It End at after 1st try)

Hope it will helps you :slight_smile:
Cheers!!

1 Like

Hi @A_Learner

In Retry Scope activity, the retry will end when either the specified number of retries is reached or when the specified condition evaluates to true. You typically set one or the other based on your workflow requirements.

Hope this helps :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.