Skip to content

Retry

  • Action
  • Flow
  • Advanced mode

Runs the Body chain, and when a step in it fails, waits and runs Body again from its start, up to Attempts times. Continues on Done as soon as Body gets through once, or on Failed when every attempt failed. Good for web, network and on-screen steps that sometimes fail. What a failed attempt was holding (a key, the pointer) is let go before the next.

In the editor, press Space on the canvas to add a step, then open Actions > Flow, or type its name. In Simple mode it's under Show all, and search finds it.

Settings

Attempts

A count

How many times Body may run in all, from 1 to 100.

Starts as: 3 Can come from another step's output

Wait between attempts (ms)

A duration

Starts as: 1000 Can come from another step's output

Each wait

A choice
  • The same
  • Twice the last one: 1 s, 2 s, 4 s and so on, at most a minute.

Starts as: The same Can come from another step's output

Where it continues

  • Body: Runs this chain once for every round.
  • Done: Continues here after the last round.
  • Failed: Continues here when it fails; the reason is in the run log.

Outputs

Values the step gives to the steps after it. In the Graph view, drag a wire from an output to another step's field.

Retry outputs
OutputGivesWhat it is
AttemptA screen positionThe attempt running now (in Body), or the one that got through (on Done).
ErrorTextWhy the last attempt failed; empty when none failed.

More in Flow