
Core Plugins and tasks OutputValues
CertifiedEmit custom values from a task.
Core Plugins and tasks OutputValues
Emit custom values from a task.
Renders the provided map and returns it under outputs.<taskId>.values. Accepts strings, numbers, arrays, or JSON objects; templated entries are rendered with the current context.
Use to surface intermediate data for downstream tasks or inspection in the Outputs tab.
type: io.kestra.plugin.core.output.OutputValuesExamples
id: outputs_flow
namespace: company.team
tasks:
- id: output_values
type: io.kestra.plugin.core.output.OutputValues
values:
taskrun_data: "{{ task.id }} > {{ taskrun.startDate }}"
execution_data: "{{ flow.id }} > {{ execution.startDate }}"
number_value: 42
array_value: ["{{ task.id }}", "{{ flow.id }}", "static value"]
nested_object:
key1: "value1"
key2: "{{ execution.id }}"
- id: log_values
type: io.kestra.plugin.core.log.Log
message: |
Got the following outputs from the previous task:
{{ outputs.output_values.values.taskrun_data }}
{{ outputs.output_values.values.execution_data }}
{{ outputs.output_values.values.number_value }}
{{ outputs.output_values.values.array_value[1] }}
{{ outputs.output_values.values.nested_object.key2 }}
Properties
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150values object
The templated strings to render
These values can be strings, numbers, arrays, or objects. Templated strings (enclosed in {{ }}) will be rendered using the current context.
Outputs
values object
The generated values