UnsetVariables​Unset​Variables

Allow to unset execution variables.

yaml
type: "io.kestra.plugin.core.execution.UnsetVariables"

Set and later unset variables

yaml
id: variables
namespace: company.team

variables:
  name: World

tasks:
  - id: set_vars
    type: io.kestra.plugin.core.execution.SetVariables
    variables:
      message: Hello
      name: Loïc
  - id: hello
    type: io.kestra.plugin.core.log.Log
    message: "{{ vars.message }} {{ vars.name }}"
  - id: unset_variables
    type: io.kestra.plugin.core.execution.UnsetVariables
    variables:
      - message
      - name
Properties
SubType string

The variables

Default false

Whether to ignore missing variables