Goal
Read what happened in a run and recover from failures.Prerequisites
- An automation that has run.
Workflow
1
Open Runs, or the Runs list inside the automation.
2
Open a run to see each step’s status, input, output and error.
3
Fix the cause, then choose Run again from this step, or rerun all failed runs since a time.
Statuses
- Runs: queued, running, waiting, completed, failed, canceled, declined.
- Steps: pending, running, waiting, completed, failed, skipped.
- Each run shows its number, whether it was a test, who or what started it, and the trigger, including the event type and id for event runs.
When a step is not allowed
A run that fails with Not allowed shows which action it needed. Owners and Admins can add the action from the Stackie note on the run, then run the failed runs again.Recover
- Run again from this step reuses the saved outputs of earlier steps.
- Rerun failed runs starts again every failed run since a time, from a step you choose.
- Cancel stops a running or waiting run.
Expected result
The fixed run completes without repeating the steps that already succeeded.
Related guides
What an automation can do, and approvals
Each automation has its own allowed actions. Steps that ask first or are destructive pause for an Owner or Admin, for up to 7 days.
Automations API and CLI
Create, run, approve and inspect automations under /api/v1/automations, with the JavaScript and Go SDKs, or with stackshift automations.