Expression Expression

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

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.Expression
      expression: {{ unknown is defined }}

Properties

expression

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

Was this page helpful?