
Core Plugins and tasks Dag
CertifiedDefine tasks as a DAG with explicit dependencies.
Core Plugins and tasks Dag
Define tasks as a DAG with explicit dependencies.
Declare tasks and their dependsOn links; Kestra derives the execution order and parallelism (bounded by concurrent). Tasks may only reference peers inside this DAG block.
UI low-code forms are disabled for now with DAG tasks.
type: io.kestra.plugin.core.flow.DagExamples
Run a series of tasks for which the execution order is defined by their upstream dependencies.
id: dag_flow
namespace: company.team
tasks:
- id: dag
type: io.kestra.plugin.core.flow.Dag
tasks:
- task:
id: task1
type: io.kestra.plugin.core.log.Log
message: task 1
- task:
id: task2
type: io.kestra.plugin.core.log.Log
message: task 2
dependsOn:
- task1
- task:
id: task3
type: io.kestra.plugin.core.log.Log
message: task 3
dependsOn:
- task1
- task:
id: task4
type: io.kestra.plugin.core.log.Log
message: task 4
dependsOn:
- task2
- task:
id: task5
type: io.kestra.plugin.core.log.Log
message: task 5
dependsOn:
- task4
- task3
Properties
tasks *RequiredNon-dynamicarray
1io.kestra.plugin.core.flow.Dag-DagTask
The task within the DAG
The list of task IDs that should have been successfully executed before starting this task
concurrent integerstring
0Number of concurrent parallel tasks that can be running at any point in time
If the value is 0, no concurrency limit exists for the tasks in a DAG and all tasks that can run in parallel will start at the same time.
errors Non-dynamicarray
List of tasks to run if any tasks failed on this FlowableTask.
finally Non-dynamicarray
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.