Interface VariableInstruction

Hierarchy

  • VariableInstruction

Properties

Properties

scopeId: string

the id of the element in which scope the variables should be created; leave empty to create the variables in the global scope of the process instance

variables: JSONDoc

JSON document that will instantiate the variables for the root variable scope of the process instance; it must be a JSON object, as variables will be mapped in a key-value fashion. e.g. { "a": 1, "b": 2 } will create two variables, named "a" and "b" respectively, with their associated values. [{ "a": 1, "b": 2 }] would not be a valid argument, as the root of the JSON document is an array and not an object.

Generated using TypeDoc