Retries and continue-on-fail

Make one step recover by itself: retry it after a short wait, carry on if it still fails, mark steps that must never run twice, and give Cloud steps a time limit.

Help Centre › Building Processes

A slow page or a short network drop should not end a whole run. Each step has settings to retry it, or to carry on when it fails. They work alongside the error path and Try-Catch, which handle failures that need their own steps.

1. Where to find them

Select the step and press F2 to edit it. Open the Error handling section at the bottom. It shows a one-line summary of what is set.

  • Max retries – how many more times to try the step if it fails: Off, or 1 to 5.
  • Delay (sec) – how long to wait before each retry, up to 300 seconds.
  • Backoff – Fixed waits the same time each retry. Exponential doubles the wait after each retry, which gives a busy system time to recover.
  • Continue if this step fails – if the step still fails after its retries, log it and go on to the next step instead of stopping the run.
  • Can't be undone – see below.

All of these are off by default. A step then runs once; if it fails, the run follows the step's error path or stops.

Tip: only add retries to steps that can work on a second try, such as a slow page or an element that loads late. Retrying a step that failed for a real reason wastes time and credits.

2. Which failures are retried

The bot retries every failure except those that cannot fix themselves:

  • bad data or wrong settings,
  • a business rule that turned the work down,
  • access denied,
  • a captcha,
  • missing or refused credentials.

So a missing element, a timeout, a server error or an unknown error is retried, but "access denied" fails at once. You can see each attempt in the Step Log while debugging, and in the Runs tab.

3. Steps that can't be undone

Turn on Can't be undone for a step that changes something in another system, where running it twice would do it twice: submitting a form, making a payment, issuing a policy.

  • The bot tries the step once. Max retries is ignored for it.
  • If the work fails after this step, the bot does not retry that work by itself, for example that queue item. Check whether the change went through before you retry it by hand.
  • Continue if this step fails and the error path still work.

This needs bot 6.6.9 or later.

4. Time limit on a Cloud step

A step in a Cloud process also has Give up after (sec), up to 3,600 seconds. If the step is still running after that, it stops and the run goes down the step's No branch, keeping what it already finished. 0 means no limit. The setting is not shown on bot steps, because the bot does not use it. To wait for something, use a Wait step rather than a long limit.

5. Continue on fail or error path?

  • Continue if this step fails – for a step that does not matter much, where you would rather note the problem and keep going.
  • Error path or Try-Catch – when a failure needs its own steps: log it, tell someone, clean up.

Related articles

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.