dbt · Arazzo Workflow
dbt Cloud Re-run the Latest Failed Run
Version 1.0.0
Inspect the most recent run, and if it failed, re-trigger its job.
View Spec
View on GitHub
Analytics EngineeringDataELTMetricsProjectsSQLTransformationArazzoWorkflows
Provider
Workflows
rerun-latest-failed-run
Re-trigger the job of the latest run only when that run errored.
Lists runs to find the newest one, reads its status and job id, and if the status is 20 (error) triggers a new run of the same job.
1
listRuns
listRuns
List runs for the account; the first entry is treated as the most recent run. Run status codes are 1 (queued), 2 (starting), 3 (running), 10 (success), 20 (error) and 30 (cancelled).
2
rerunJob
triggerJobRun
Trigger a fresh run of the job whose latest run errored.