Condition for an execution namespace.
yaml
type: "io.kestra.plugin.core.condition.ExecutionNamespace"Examples
Trigger condition to execute the flow based on execution of another flow(s) belonging to certain namespace.
yaml
id: flow_condition_executionnamespace
namespace: company.team
tasks:
  - id: hello
    type: io.kestra.plugin.core.log.Log
    message: "This flow will execute when any flow within `company.engineering` namespace enters RUNNING state."
triggers:
  - id: flow_trigger
    type: io.kestra.plugin.core.trigger.Flow
    conditions:
      - type: io.kestra.plugin.core.condition.ExecutionNamespace
        namespace: company.engineering
        comparison: PREFIX
    states:
      - RUNNING
Properties
namespace *Requiredstring
String against which to match the execution namespace depending on the provided comparison.
comparison string
 Possible Values 
EQUALSPREFIXSUFFIXComparison to use when checking if namespace matches. If not provided, it will use EQUALS by default.
prefix booleanstring
 Default 
falseWhether to look at the flow namespace by prefix. Shortcut for comparison: PREFIX.
Only used when comparison is not set