ExecutionOutputs
ExecutionOutputs
yaml
type: "io.kestra.plugin.core.condition.ExecutionOutputs"
Condition based on the outputs of an execution.
The condition returns false
if the execution has no output. If the result is an empty string, a space, or false
, the condition will also be considered as false
.
Examples
A condition that will return true for an output matching a specific value.
yaml
- conditions:
- type: io.kestra.plugin.core.condition.ExecutionOutputs
expression: {{ trigger.outputs.status_code == '200' }}
Properties
expression
- Type: string
- Dynamic: ❌
- Required: ✔️
- Min length:
1
Was this page helpful?