Return Return

yaml
type: "io.kestra.core.tasks.debugs.Return"

Debugging task that returns a rendered value.

This task is mostly useful for debugging purpose.

It allows you to see inputs or outputs variables or to debug some templated functions.

Examples

yaml
id: "return"
type: "io.kestra.core.tasks.debugs.Return"
format: "{{task.id}} > {{taskrun.startDate}}"

Properties

format

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

The templated string to render

Outputs

value

  • Type: string

The generated string

## Metrics
### `length`
    * **Type:** ==counter== 
    
### `duration`
    * **Type:** ==timer==