[jboss-user] [JBoss jBPM] - Accessing the parent/super execution from a subprocess execu

flavio.donze do-not-reply at jboss.com
Tue Aug 11 18:17:04 EDT 2009


I have a little problem/question.

I'm starting a process "CommitProcess" passing the execution an own "processInstanceKey".
The CommitProcess starts a sub-process called "ReviewProcess".
In a Task of the sub-process I'm using an AssignmentHandler and there I would like to access the processInstanceKey from the super-process.

Well how do I do that?

OpenExecution.getParent() returns null.
There is an OpenExecution.getSubProcessInstance() but no OpenExecution.getSuperProcessInstance(), the attribute ExecutionImpl.superProcessExecution is set but I can't access it without casting to ExecutionImpl.

Any ideas? Thanks
Flavio


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249085#4249085

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249085



More information about the jboss-user mailing list