Can any one explain about retry scope activity


#1

i refered entire this forum ,about retry scope . i did nt get the explanations .so can anyone explain about the retry scope .


Web URL monitoring
#2

Hey @Sukesh

Have you tried this thread?

Regards…!!
Aksh


#3

Yes @aksh1yadav, i didnt get what exactly meant there!, can you please elaborate this


#4

This Activity Contains Two blocks:

  • Action Block

  • Condition Block

Retry Scope Activity “Retries the contained activities as long as the condition is not met or an error is thrown.”

Condition Block - There are activities like “Element exists” that can be used in Retry scope (because they have a boolean result). Similarly Image Exists and so on.

Only those activities are supported in Condition Block which have a Boolean Result.

Action Block - Here you can define your actions or steps what you wants to achieve if that condition block will return true.

It support following attributes like
NumberOfRetries
The number of times that the sequence is to be retried.
RetryInterval
Specifies the amount of time (in seconds) between each retry.
Common

So Retry Scope activity will keep retrying to perform particular set of step till the condition will be true for “Number of retires” mentioned.

Regards…!!
Aksh


Conditional to wait until website loaded
#5

Thank you so much @aksh1yadav , one question regarding this .from which Uipath version the retry scope is available?


#6

Sorry did not noticed across versions and even in release not was not able to identify.

@badita should know.

Regards,!!
Aksh


#7

Thank you for the clear explanation!


#8

Can we continue execution after Retry scope fails,
As i notice its throwing error after number of retry’s and stopping the execution process ?


#9

Hi @aksh1yadav

Now, I’ve a boolean variable in my action block. If the boolean variable is not True, then it should retry.

So how do I put that criteria in the condition block?


#10

Hi there @Serran_Neru,
To evaluate your Boolean, you can use the IsTrue/IsFalse activities, provided under:
Microsoft.Activities.Expressions.IsTrue

Thanks in advance,
Josh