ByteChef LogoByteChef
Components

Var

Sets a value which can then be referenced in other tasks.

Sets a value which can then be referenced in other tasks.

Categories: Helpers

Type: var/v1


Actions

Set Value

Name: set

Assign value to a variable that can be used in the following steps.

Properties

NameLabelTypeDescriptionRequired
typeTypeSTRING
Options ARRAY, BOOLEAN, DATE, DATE_TIME, INTEGER, NUMBER, OBJECT, STRING, TIME
The value type.null
valueValueARRAY
Items []
Value of any type to set.true
valueValueBOOLEAN
Options true, false
Value of any type to set.true
valueValueDATEValue of any type to set.true
valueValueDATE_TIMEValue of any type to set.true
valueValueINTEGERValue of any type to set.true
valueValueNUMBERValue of any type to set.true
valueValueOBJECT
Properties {}
Value of any type to set.true
valueValueSTRINGValue of any type to set.true
valueValueTIMEValue of any type to set.true

Example JSON Structure

{
  "label" : "Set Value",
  "name" : "set",
  "parameters" : {
    "type" : "",
    "value" : "00:00:00"
  },
  "type" : "var/v1/set"
}

Output

The output for this action is dynamic and may vary depending on the input parameters. To determine the exact structure of the output, you need to execute the action.

On this page