Airflow Dynamic Task Mapping: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 9: Line 9:
=Overview=
=Overview=
A workflow can create a number of tasks at runtime, based upon current workflow instance state, rather than the DAG author having to know in advance how many tasks would be needed. However, the tasks can be created in the DAG definition itself. <font color=darkkhaki>Tasks cannot create dynamic tasks.</font>
A workflow can create a number of tasks at runtime, based upon current workflow instance state, rather than the DAG author having to know in advance how many tasks would be needed. However, the tasks can be created in the DAG definition itself. <font color=darkkhaki>Tasks cannot create dynamic tasks.</font>
=Questions=
<font color=darkkhaki>
* Can dependencies be declared on dynamic tasks?
</font>

Revision as of 20:58, 18 July 2022

External

Internal

Overview

A workflow can create a number of tasks at runtime, based upon current workflow instance state, rather than the DAG author having to know in advance how many tasks would be needed. However, the tasks can be created in the DAG definition itself. Tasks cannot create dynamic tasks.

Questions

  • Can dependencies be declared on dynamic tasks?