Retry Scope Activity for Retrying Execution in Case of Errors
TABLE OF CONTENTS
1. Activity program name
RCA.Activities.Core.RetryScope
2. Description
Studio Version ~2.0.2.0
Quick Access: "Toolbox" > "Core" > "Retry Scope"Studio Version 2.0.3.0~
Quick Access: "Toolbox" > "System" > "Control Flow" > "Retry Scope"
The "Retry Scope" activity retries the activity contained in "Action" when conditions are not met, or an error is thrown. If the specified number of retries is reached and an error still occurs, the activity throws an error. The behavior upon throwing an error depends on the value set in the "Continue on Error" property in the Properties panel.
Note: Confirmed Studio version with tested operation: 2.0.1.6
Note: Terminology may vary depending on the version.
3. Properties
4. Usage
Drag and drop the activity "Core > Retry Scope" from the Toolbox to the Designer panel.
Set the number of retries and the retry interval. In this example, we set the interval to retry every 5 seconds, a total of 3 times. Specify the retry count as "3" in the Properties panel under "Input > NumberOfRetries." Set the retry interval as "00:00:05" under "Input > Retry Interval."
Describe the process to retry upon error within "Action." Drag and drop the "Core > Delete" activity from the Toolbox to the Designer panel.
In the Properties panel for "Input > Target Path," specify the variable name containing the file name to delete, such as "C:\Users\VanTT20\Desktop\big-image.png"
Click "Home > Start" or press the "F5" key to execute.
Execution Result:
Since the target file does not exist, it performs execution every 5 seconds, up to 3 times.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article