[jboss-user] [jBPM Users] - Re: How to signal subprocess?

neshap do-not-reply at jboss.com
Fri Nov 27 05:16:48 EST 2009


Instead of casting it to implementation class, you can try something like

Execution parentExecution=instance.findActiveExecutionIn("SubProcessParent");
  | OpenExecution subProcessExecution=((OpenExecution)parentExecution).getSubProcessInstance();

After that you can access state and signal it with something like:

Execution subProcessState=subProcessExecution.findActiveExecutionIn("SubProcess");

Regards
Nenad

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

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



More information about the jboss-user mailing list