Passes the input to the output without any change. Useful as an entry point to start several branches from the same input, or as a placeholder / junction task.
- Service:
CleverAge\ProcessBundle\Task\DummyTask - Code:
dummy(task: dummy)
any
any: the input, unchanged
This task has no option.
- Use as an entry point to run two branches
# Task configuration level
entry:
task: dummy
outputs: [output1, output2]
output1:
task: constant_output
options:
output: { id: 123 }
output2:
task: constant_output
options:
output: { id: 456 }