setVariable
Sets the selected value of the variable
Description
vcc.setVariable(variable: string, value: object): void
It sets the value of the variable.
Warning: Whenever you create variables in the Script process, make sure to name them starting with vcc_ prefix as the system will automatically format them like that in any case. Later on, if you are referring to such variables, always refer to them with vcc_ prefix
Parameters
variable
The variable’s name
value
The value of the variable.
Return values
none
Example
vcc.setVariable('city', 'Budapest');
Comments
Can’t find what you need? Use the comment section below to connect with others, get answers from our experts, or share your ideas with us.
There are no comments yet.