update_task_instance
Update the state of a specific task instance in Apache Airflow using DAG ID, DAG run ID, and task ID for precise workflow management.
Instructions
Update a task instance by DAG ID, DAG run ID, and task ID
Input Schema
Name | Required | Description | Default |
---|---|---|---|
dag_id | Yes | ||
dag_run_id | Yes | ||
state | No | ||
task_id | Yes |
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"
},
"task_id": {
"title": "Task Id",
"type": "string"
}
},
"required": [
"dag_id",
"dag_run_id",
"task_id"
],
"title": "update_task_instanceArguments",
"type": "object"
}