Apache Airflow · Arazzo Workflow
Apache Airflow Force a Task Instance State
Version 1.0.0
Preview and then set a task instance's state to unblock a stuck pipeline, verifying the DAG run recovers.
View Spec
View on GitHub
ApacheDAGData PipelineETLOpen-SourceOrchestrationPythonSchedulingWorkflowsArazzoWorkflows
Provider
Workflows
force-task-instance-state
Override a task instance's state after previewing the affected instances.
Reads the task instance, dry-runs the state change to enumerate the affected instances, applies the new state for real, and re-reads the task instance and DAG run to confirm the override took.
1
readCurrentState
Read the task instance so the caller can see and record the state being overridden before anything changes.
2
previewStateChange
Dry-run the state change. Airflow returns the task instances the real call would modify without touching any of them, which matters because downstream propagation can reach further than expected.
3
applyStateChange
Apply the state change for real against the same selection that was previewed.
4
verifyTaskState
Re-read the task instance and require that its state now matches the requested override.
5
checkRunRecovered
Read the DAG run to report whether overriding the task released the rest of the pipeline.
Source API Descriptions
openapi
openapi
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.