ExecutorTemplate​Executor​Template

ExecutorTemplate ExecutorTemplate

yaml
type: "io.kestra.plugin.core.flow.Template$ExecutorTemplate"

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:

yaml
  - id: 2-template
    type: io.kestra.plugin.core.flow.Template
    namespace: io.kestra.tests
    templateId: template
    args:
      forward: "{{ output.task-id.uri }}"

You will be able to get this output on the template with {{ parent.outputs.args.forward }}.

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:

The arguments passed to the template.

Definitions

io.kestra.core.models.templates.Template

Properties

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_-]*

Was this page helpful?