VariableCondition
VariableCondition
yaml
type: "io.kestra.core.models.conditions.types.VariableCondition"
Condition based on variable expression.
If the result is an empty string, a string containing only space or false
, the condition will be considered as false.
Examples
A condition that will return false for a missing variable.
yaml
- conditions:
- type: io.kestra.core.models.conditions.types.VariableCondition
expression: {{ unknown is defined }}
Properties
expression
- Type: string
- Dynamic: ❌
- Required: ✔️
- Min length:
1