div-action-set-variable

Assigns a value to the variable

Parameters

Parameters Description
type

string

Required parameter.

The value must always be set_variable.

value

object

Required parameter.

The value has the type div-typed-value.

List of possible values:

  • string_value
  • integer_value
  • number_value
  • color_value
  • boolean_value
  • url_value
  • dict_value
  • array_value
  • variable_name

    string

    Required parameter.

    JSON
    {
      type*: "set_variable",
      value*: div-typed-value,
      variable_name*: "string"
    }