[jboss-user] [jBPM] - Re: Problem terminating concurent executions that have active sub-processes [jBPM 4.3/4.4 + Oracle]

Philipp Ossler do-not-reply at jboss.com
Mon Oct 11 07:48:59 EDT 2010


saig0 [http://community.jboss.org/people/saig0] created the discussion

"Re: Problem terminating concurent executions that have active sub-processes [jBPM 4.3/4.4 + Oracle]"

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

--------------------------------------------------------------
Hi,

I tried a bit with your changes to resolve my problem and it seems that I found a fix.
I suspend the sub process instance instead of end it:

 // terminates the sub-process if it exists
        if (subProcessInstance != null)
 // terminates the sub-process if it exists
 if (subProcessInstance != null)
 {
     // to avoid the return signal (see superProcessExecution.signal() in
     // the end(String state) method)
     subProcessInstance.setSuperProcessExecution(null);
     subProcessInstance.suspend();
 }


Can you verify my changes?
--------------------------------------------------------------

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

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/20101011/7161a7b5/attachment.html 


More information about the jboss-user mailing list