Include a reusable template inside a flow (Deprecated).
yaml
type: "io.kestra.plugin.core.flow.template$executortemplate"Properties
namespace*RequiredNon-dynamicstring
The namespace of the template
templateId*RequiredNon-dynamicstring
The ID of the template
argsobject
SubTypestring
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:
text
- 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 }}.
errorsNon-dynamicarray
List of tasks to run if any tasks failed on this FlowableTask.
finallyNon-dynamicarray
templateNon-dynamic
Definitions
io.kestra.core.models.templates.Template
id*Requiredstring
Validation RegExp
^[a-zA-Z0-9][a-zA-Z0-9._-]*Min length
1namespace*Requiredstring
Validation RegExp
^[a-z0-9][a-z0-9._-]*tasks*Requiredarray
Min items
1deletedboolean
Default
falsedescriptionstring
errorsarray
finallyarray
tenantIdstring
Validation RegExp
^[a-z0-9][a-z0-9_-]*tenantIdNon-dynamicstring
Outputs
argsobject
The arguments passed to the template