Simply outputs the same configured value all the time, ignores any input
- Service:
CleverAge\ProcessBundle\Task\ConstantOutputTask
Input is ignored
any
: directly output given output
option
Code | Type | Required | Default | Description |
---|---|---|---|---|
output |
any |
X | Value to output |
# Task configuration level
code:
service: '@CleverAge\ProcessBundle\Task\ConstantOutputTask'
options:
output:
id: 123
firstname: Test1
lastname: Test2