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.
ProcessEngineImpl engine = (ProcessEngineImpl) ProcessEngines.getDefaultProcessEngine();
Don't change process flow with code, use only process variables
Access to parent variables within a sub-process with code
<br>CommandContext<br> .getCurrentSession(RuntimeSession.class)<br> .findVariableInstancesByExecutionId(parentExecutionId);<br><br>or<br><br>CommandContext<br> .getCurrentSession(RuntimeSession.class)<br> .findExecutionById(parentExecutionId);<br><br>