Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] replied to the discussion
"JBPM-2772 retrieve business key from sub-process" To view the discussion, visit: http://community.jboss.org/message/556829#556829 -------------------------------------------------------------- If you go a bit deeper you will find that there is a bidirectional reletionship created between super and subprocess. subProcessInstance = (ExecutionImpl) processDefinition.createProcessInstance(key); next go into that method: if (superProcessExecution!=null) { // establish the bidirectional relation between super process activity instance // and sub process instance ExecutionImpl superProcessExecutionImpl = (ExecutionImpl) superProcessExecution; processInstance.setSuperProcessExecution(superProcessExecutionImpl); superProcessExecutionImpl.setSubProcessInstance(processInstance); } -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/556829#556829] Start a new discussion in jBPM Development at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
