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