newVariable

The newVariable task creates a new job variable. The result is similar to promoting the outgoing variable of an automatic task to a job variable. You can create a new boolean, number, string, object, or array variable.

Properties

PropertyDescription
New Variable NameType a name for the new variable. Job variable names must adhere to the Itential Platform naming conventions. The naming rules are found in Naming conventions.
Variable SourceSpecify where to find the value of the new variable (a job variable, a static value, or an earlier task). Select the appropriate reference task then either select the reference variable or type a new description for a static reference.
ValueIf the value location is static, the Value field becomes a text editor; type the new value. Otherwise the Value field becomes a dropdown list; select an existing job or task variable.

Example

The figure below shows the newVariable task properties.

newVariable task properties panel

For related information, see the newVariable API reference.