Core Plugins and tasks Sequential

Core Plugins and tasks Sequential

Certified

Run child tasks sequentially.

Executes the listed tasks one after another, with optional errors and finally hooks. Useful for grouping steps when mixing with parallel constructs.

yaml
type: io.kestra.plugin.core.flow.Sequential
yaml
id: sequential
namespace: company.team

tasks:
  - id: sequential
    type: io.kestra.plugin.core.flow.Sequential
    tasks:
      - id: first_task
        type: io.kestra.plugin.core.debug.Return
        format: "{{ task.id }} > {{ taskrun.startDate }}"

      - id: second_task
        type: io.kestra.plugin.core.debug.Return
        format: "{{ task.id }} > {{ taskrun.id }}"

  - id: last
    type: io.kestra.plugin.core.debug.Return
    format: "{{ task.id }} > {{ taskrun.startDate }}"
Properties
Min items1

List of tasks to run if any tasks failed on this FlowableTask.

Reference (ref) of the pluginDefaults to apply to this task.