Optional
ancestorThe ID of the element that should be activated.
Optional
variableOptional
scopeId?: stringThe 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 *
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.
The key of the ancestor scope the element instance should be created in. Set to -1 to create the new element instance within an existing element instance of the flow scope. Default: -1