Return Return

yaml
type: "io.kestra.plugin.core.debug.Return"

Return a value for debugging purposes.

This task is mostly useful for troubleshooting.

It allows you to return some templated functions, inputs or outputs.

Examples

yaml
id: "return"
type: "io.kestra.plugin.core.debug.Return"
id:return_flow
namespace: company.team

tasks:
  - id: return
    type: io.kestra.plugin.core.debug.Return
    format: "{{ task.id }} > {{ taskrun.startDate }}"

Properties

format

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

The templated string to render.

Outputs

value

  • Type: string
  • Required:

The generated string.

Metrics

length

  • Type: counter

duration

  • Type: timer

Was this page helpful?