Sequential
yaml
type: "io.kestra.core.tasks.flows.Sequential"
Process tasks one after the other sequentially
Used to group tasks.
Examples
yaml
id: sequential
namespace: io.kestra.tests
tasks:
- id: sequential
type: io.kestra.core.tasks.flows.Sequential
tasks:
- id: 1st
type: io.kestra.core.tasks.debugs.Return
format: "{{task.id}} > {{taskrun.startDate}}"
- id: 2nd
type: io.kestra.core.tasks.debugs.Return
format: "{{task.id}} > {{taskrun.id}}"
- id: last
type: io.kestra.core.tasks.debugs.Return
format: "{{task.id}} > {{taskrun.startDate}}"
Properties
tasks
- Type: array
- SubType: Task
- Dynamic: ❌
- Required: ✔️
- Min items:
1
errors
- Type: array
- SubType: Task
- Dynamic: ❌
- Required: ❌
List of tasks to run if any tasks failed on this FlowableTask