Class EachParallel

All Implemented Interfaces:
FlowableTask<VoidOutput>

@Example(code={"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 }}\'\""}) @Example(code={"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 }}\'\""}) @Example(title="Handling each value in parallel but only 1 child task for each value at the same time.",code={"value: \'[\"value 1\", \"value 2\", \"value 3\"]\'","tasks:"," - id: seq"," type: io.kestra.core.tasks.flows.Sequential"," tasks:"," - id: t1"," type: io.kestra.plugin.scripts.shell.Commands"," commands:"," - \'echo \"{{task.id}} > {{ parents[0].taskrun.value }}"," - \'sleep 1\'"," - id: t2"," type: io.kestra.plugin.scripts.shell.Commands"," commands:"," - \'echo \"{{task.id}} > {{ parents[0].taskrun.value }}"," - \'sleep 1\'"}) public class EachParallel extends Parallel implements FlowableTask<VoidOutput>