EachSequential EachSequential

type: "io.kestra.core.tasks.flows.EachSequential"

Execute a tasks for a list of value sequentially

For each value, tasks will be executed
The value must be valid json string representing an arrays, like ["value1", "value2"] or [{"key":"value1"}, {"key":"value2"}]
The current value is available on vars {{ taskrun.value }}.

# Examples

id: "each_sequential"
type: "io.kestra.core.tasks.flows.EachSequential"
value: '["value 1", "value 2", "value 3"]'
tasks:
  - id: each-value
    type: io.kestra.core.tasks.debugs.Return
    format: "{{ task.id }} with current value '{{ taskrun.value }}'"

# Properties

# errors

  • Type: array
  • SubType: Task-2
  • Dynamic:
  • Required:

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

# tasks

  • Type: array
  • SubType: Task-2
  • Dynamic:
  • Required: ✔️
  • Min items: 1

# value

  • Type: string
  • Dynamic:
  • Required: ✔️
  • Min length: 1

# Definitions