Condition for an execution namespace.
yaml
type: "io.kestra.plugin.core.condition.ExecutionNamespace"
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
Dynamic
NO
String against which to match the execution namespace depending on the provided comparison.
Dynamic
NO
Possible Values
EQUALS
PREFIX
SUFFIX
Comparison to use when checking if namespace matches. If not provided, it will use EQUALS
by default.
Dynamic
NO
Default
false
Whether to look at the flow namespace by prefix. Shortcut for comparison: PREFIX
.
Only used when comparison
is not set