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
Example
The figure below shows the newVariable task properties.

Related reading
For related information, see the newVariable API reference.