Condition that checks labels of an execution.
yaml
type: "io.kestra.plugin.core.condition.ExecutionLabels"Examples
Trigger condition to execute the flow based on execution of another flow(s) with certain execution labels.
yaml
id: flow_condition_executionlabels
namespace: company.team
tasks:
  - id: hello
    type: io.kestra.plugin.core.log.Log
    message: "This flow will execute when flow with specified labels enters FAILED state."
triggers:
  - id: flow_trigger
    type: io.kestra.plugin.core.trigger.Flow
    conditions:
      - type: io.kestra.plugin.core.condition.ExecutionLabels
        labels:
          owner: john.doe
          env: prod
    states:
      - FAILED
Properties
labels *RequiredNon-dynamicarrayobject
List of labels to match in the execution.
