yaml
type: "io.kestra.plugin.core.flow."

Include a reusable template inside a flow.

Properties

namespace

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

The namespace of the template.

templateId

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

The ID of the template.

args

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

The arguments to pass to the template.

You can provide a list of named arguments (like function argument on dev) allowing to rename outputs of current flow for this template. For example, if you declare this use of template like this:

errors

  • Type: array
  • SubType: Task
  • Dynamic:
  • Required:

List of tasks to run if any tasks failed on this FlowableTask.

template

tenantId

  • Type: string
  • Dynamic:
  • Required:

Outputs

args

  • Type: object
  • Required:

Definitions

io.kestra.core.models.templates.Template

  • deleted
    • Type: boolean
    • Dynamic:
    • Required: ✔️
    • Default: false
  • id
    • Type: string
    • Dynamic:
    • Required: ✔️
    • Validation RegExp: ^[a-zA-Z0-9][a-zA-Z0-9._-]*
    • Min length: 1
  • namespace
    • Type: string
    • Dynamic:
    • Required: ✔️
    • Validation RegExp: ^[a-z0-9][a-z0-9._-]*
  • tasks
    • Type: array
    • SubType: Task
    • Dynamic:
    • Required: ✔️
    • Min items: 1
  • description
    • Type: string
    • Dynamic:
    • Required:
  • errors
    • Type: array
    • SubType: Task
    • Dynamic:
    • Required:
  • tenantId
    • Type: string
    • Dynamic:
    • Required:
    • Validation RegExp: ^[a-z0-9][a-z0-9_-]*