How to put counter in Retry Scope

How to put counter in Retry Scope? Is this correct?

@prititit ,

As per the workflow this will go into infinite loop know. What actually you want to do with the retry count?

I want to check or retry the scope if the element doesnt exist. Like 3 times

@prititit I do not think you would need to increment the counter variable, You can Assign the value to the counter variable as 3, if that’s the number of times you want the sequence to retry when an Error Occurs

@prititit

Check below

Which this is a manual way

Use Retry scope and specify condition as Element Exists

In properties you can specify 3

Hope this helps you

Thanks

Hello @ksrinu070184

Can I check the flow decision? :slight_smile: thank you!

Hi @ksrinu070184

Is this correct?

@prititit

Yes, As you shown NumberOfRetries will be 3, So it will check the condition, If it satifies It will not retry, else it will retry

Also check the flow decision as below

Hope this helps you

Thanks

1 Like

Hello @ksrinu070184

Is this correct? :slight_smile:

@prititit

If you are using Retryscope, then It is not required for Counter.

If you are declaring as manually then you need counter, the NumberofRetries only can control if you are using RetryScope

Hope this helps you

Thanks

Oh okay! So if im trying to check or if there’s an error in the element exist, then it will try to run again depending on how many retries you put in the numberofretries right?

So for example, i indicate “3” as numberofretries. Then i dont need to put/assign counter, right?

@prititit

Yes

Mark as solution if this helps you

Thanks

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