ExecutionOutputsCondition​Execution​Outputs​Condition

ExecutionOutputsCondition ExecutionOutputsCondition

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

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.ExecutionOutputsCondition
      expression: {{ trigger.outputs.status_code == '200' }}

Properties

expression

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

Outputs

Definitions

Was this page helpful?