Documents

Automation failures, retries and replay

Recover a run without repeating its effects or losing its history.

Kinds of failure

  • Start-up: the workflow, input, permission or idempotency key was rejected.
  • Execution: a step failed after the run began.
  • Waiting: an operation, approval or callback the run waited for ended unsuccessfully.
  • Interrupted: a step stopped responding and was recovered or failed.
  • Cancelled: someone stopped the run on purpose; this is not an error.

Retrying a step

Retry a step only when its retry policy allows another attempt and its effect is safe to repeat. Every attempt is kept, along with any output or provider reference from earlier attempts.

Replaying a run

A replay starts a new run from the original input. It gets its own ID, idempotency key, timestamps, steps and history. The original failed run stays unchanged for audit and support.

Checklist

  • Read the error code and the failed step.
  • Check the state of the operation or approval the step waited for before you change anything.
  • Find out whether an outside effect, such as an email, already happened.
  • Fix the configuration, key, input or receiver first.
  • Then choose: retry, replay, continue by hand, or accept the failure.