update_dag_run_state
Modify the state of a specific DAG run in Apache Airflow using the DAG ID and DAG run ID. Enables precise control over workflow execution status.
Instructions
Update a DAG run state by DAG ID and DAG run ID
Input Schema
Name | Required | Description | Default |
---|---|---|---|
dag_id | Yes | ||
dag_run_id | Yes | ||
state | No |
Input Schema (JSON Schema)
{
"properties": {
"dag_id": {
"title": "Dag Id",
"type": "string"
},
"dag_run_id": {
"title": "Dag Run Id",
"type": "string"
},
"state": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "State"
}
},
"required": [
"dag_id",
"dag_run_id"
],
"title": "update_dag_run_stateArguments",
"type": "object"
}