FlowNamespaceCondition FlowNamespaceCondition

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

Condition for a flow namespace.

Use io.kestra.plugin.core.condition.ExecutionNamespace instead.

Examples

yaml
- conditions:
    - type: io.kestra.plugin.core.condition.FlowNamespaceCondition
      namespace: io.kestra.tests
      prefix: true

Properties

namespace

  • Type: string
  • Dynamic:
  • Required: ✔️

The namespace of the flow or the prefix if prefix is true.

prefix

  • Type: boolean
  • Dynamic:
  • Required:
  • Default: false

If we must look at the flow namespace by prefix (checked using startWith). The prefix is case sensitive.

Was this page helpful?