Retry Actions
There are times when an action in your workflow fails due to a momentary internal or external error. In such a scenario, you have to re-execute the workflow right from the start. The ‘Retry Action’ feature minimizes the need to do this, by automatically executing the failed action two more times before throwing an error. To do so, you have to enable the ‘Retry Action’ feature for your workflow.
We will understand how to do it with the help of an example.
How to enable ‘Retry’ for your workflow
Let’s say you have a workflow for which you want to enable ‘Retry’ feature. To do so, follow the steps given below:
Step 1: Navigate to the workflow and click on the ‘Workflow Settings’ option given at the top-right corner of the canvas.
Step 2: Select ‘Execution Settings’ option given at the left-hand side panel of the window that appears. You will be displayed a list of options. Toggle-on the ‘Retry’ option as highlighted in the image below:
This will activate the ‘Retry’ feature for your workflow.
Now when you execute this workflow, and an action fails, Built.io Flow will automatically try to execute the failed action two more times before throwing an error. Since the failed action is retried in the same execution cycle, no additional credits will be deducted from your account.
Note: In case an action fails three times, the error details of only third execution will be displayed in the workflow activity logs.