Example : how to get the current process instance id
try {
var processInstanceId = execution.getVariable("processInstanceId");
execution.setVariable("PROCESS_INSTANCE_ID", execution.getProcessInstanceId());
} catch(e) {}Last updated
try {
var processInstanceId = execution.getVariable("processInstanceId");
execution.setVariable("PROCESS_INSTANCE_ID", execution.getProcessInstanceId());
} catch(e) {}Last updated