ExpressionCondition ExpressionCondition

yaml
type: "io.kestra.plugin.core.condition.ExpressionCondition"

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.plugin.core.condition.ExpressionCondition
      expression: {{ unknown is defined }}

Properties

expression

  • Type: string
  • Dynamic:
  • Required: ✔️
  • Min length: 1

Outputs

Definitions

Was this page helpful?