Apache Airflow · Arazzo Workflow
Apache Airflow Collect DAG Run Results from XCom
Version 1.0.0
Wait for a DAG run to finish, find the producing task instance, and pull its XCom return value.
View Spec
View on GitHub
ApacheDAGData PipelineETLOpen SourceOrchestrationPythonSchedulingWorkflowArazzoWorkflows
Provider
Workflows
collect-dag-run-results
Retrieve the XCom value a finished DAG run's task published.
Polls the DAG run until it ends, verifies the producing task instance reached the success state, enumerates its XCom entries, and reads the named key.
1
waitForRun
get_dag_run
Poll the DAG run until Airflow stamps an end_date. XCom values are only dependable once the run has reached a terminal state.
2
confirmProducerSucceeded
get_task_instance
Read the producing task instance and require the success state. A failed or skipped producer publishes no XCom, so stopping here yields a clear error instead of an empty result.
3
listXcomKeys
get_xcom_entries
List every XCom entry the producing task published in this run so the caller can see what is available before reading a specific key.
4
readXcomValue
get_xcom_entry
Read the requested XCom key with deserialize enabled so the response carries the actual value. Note that deserialize is rejected unless the Airflow deployment has enabled allow_deserialize_xcom_via_api.