[jboss-user] [jBPM] - How to Get Parent Process Id/Key in Subprocess
HuiSheng Xu
do-not-reply at jboss.com
Wed Jun 16 02:44:27 EDT 2010
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100616/58414a9d/attachment.html
More information about the jboss-user
mailing list