Allow to set execution variables. These variables are available via the {{ vars.name }} expression.
yaml
type: "io.kestra.plugin.core.execution.SetVariables"Examples
Set 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 }}"Properties
variables *Requiredobject
The variables
overwrite booleanstring
 Default 
trueFlag specifying whether to overwrite existing variables
