Same as ConstantOutputTask but only accepts an array of values and iterates over each element.
- Service:
CleverAge\ProcessBundle\Task\ConstantIterableOutputTask
Input is ignored
any
: iterate on the output
option
Code | Type | Required | Default | Description |
---|---|---|---|---|
output |
array |
X | Array of values to iterate onto |
# Task configuration level
code:
service: '@CleverAge\ProcessBundle\Task\ConstantIterableOutputTask'
options:
output:
id: 123
firstname: Test1
lastname: Test2