Retry On Error
Executes a group of tasks with a retry mechanism, where all tasks are retried as a group if any of them fail during execution. Retries occur up to a specified number of times with a delay between attempts.
Category: Flow Control & Logic · Group: General · Activity name: RetryOnError

Example
outputVariable = RetryOnError(1, 0, isRetrying="<isRetrying>")
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| Number of retries | integer | Yes | 1 | How many times to retry AFTER the first attempt fails: the group runs at most retries + 1 times, so 1 means two runs and 0 means one. Each retry repeats everything the group does — on a login block, another captcha solve and another one-time code emailed to the user. |
| Retry delay (seconds) | integer | Yes | The number of seconds to wait before retrying the tasks after a failure. This delay applies between each retry attempt for the group of tasks. | |
| Is Retrying | string | The variable where a boolean result will be stored. The result is true if the tasks are being retried, false otherwise. |
Outputs
| Name | Type | Description |
|---|---|---|
| outputVariable | object | Specifies the name of the variable that will store retry-related data. This variable contains the following fields: - retryCount: The current retry attempt number. - retryException: The error message from the last failed attempt. You can access these fields using: {{variableName["retryCount"]}} to get the retry count. {{variableName["retryException"]}} to retrieve the last error message. |
Branches
tasks