Always outputs the same configured value, regardless of the input. Commonly used as an entry point to feed a process with static data.
- Service:
CleverAge\ProcessBundle\Task\ConstantOutputTask - Code:
constant_output(task: constant_output)
Input is ignored
any: the value of the output option, as is
| Code | Type | Required | Default | Description |
|---|---|---|---|---|
output |
any |
X | Value to output |
- Output a static array, then dump it
# Task configuration level
entry:
task: constant_output
options:
output:
id: 123
firstname: Test1
lastname: Test2
outputs: [debug]