HuiSheng Xu [http://community.jboss.org/people/rebody] replied to the discussion

"How to Get Parent Process Id/Key in Subprocess"

To view the discussion, visit: http://community.jboss.org/message/548143#548143

--------------------------------------------------------------
Hi Apurv,

Unfortunately,  we cannot get super process from Execution interface.  If you 
need to get the super process defintion id, you have to cast execution to 
ExecutionImpl.


ExecutionImpl executionImpl = (ExecutionImpl) execution;

executionImpl.getSuperProcessExecution().getProcessDefinitionId()

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/548143#548143]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to