As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
${'reject'.equals(execution.getProcessInstance().getVariable('decision')) ? execution.getId() : execution.getProcessInstance().setVariable('decision', decision)}
If I do not do this, the parent process knows nothing about the "decision" variable.
embedded subprocesses share the same variable context as the parent process instance, wo why do you need to set them explicitely?