Scoped Workflow - setVariable(String name, Object value)

Sets the specified variable to the specified value.

Table 1. Parameters
Name Type Description
name String The variable name
value Object The value to be assigned to the variable.
Table 2. Returns
Type Description
void

workflow.setVariable("task", "terrible");