Blueprints

Run two tasks in parallel

Source

yaml
id: parallel-tasks
namespace: company.team

tasks:
  - id: parallel
    type: io.kestra.plugin.core.flow.Parallel
    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 }}"

About this blueprint

Parallel

This blueprints show how to run two tasks in parallel.

Parallel

Return

More Related Blueprints

New to Kestra?

Use blueprints to kickstart your first workflows.

Get started with Kestra