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&...]