Source
yaml
id: parallel-sequences
namespace: company.team
tasks:
- id: parallel
type: io.kestra.plugin.core.flow.Parallel
tasks:
- id: sequence1
type: io.kestra.plugin.core.flow.Sequential
tasks:
- id: task1
type: io.kestra.plugin.core.debug.Return
format: "{{ task.id }}"
- id: task2
type: io.kestra.plugin.core.debug.Return
format: "{{ task.id }}"
- id: sequence2
type: io.kestra.plugin.core.flow.Sequential
tasks:
- id: task3
type: io.kestra.plugin.core.debug.Return
format: "{{ task.id }}"
- id: task4
type: io.kestra.plugin.core.debug.Return
format: "{{ task.id }}"
About this blueprint
Parallel
This blueprint shows how to run two independent task sequences in parallel. The two sequences, sequence1 and sequence2, start in parallel. The tasks in these sequences however run one after the other serially, i.e. task2 starts after task1 finishes, and task4 starts after task3 finishes.
More Related Blueprints