[jboss-user] [jBPM] - Re: Problem terminating concurent executions that have active sub-processes [jBPM 4.3/4.4 + Oracle]
Michal Klimuk
do-not-reply at jboss.com
Thu Oct 14 05:38:12 EDT 2010
Michal Klimuk [http://community.jboss.org/people/misieq] 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/566431#566431
--------------------------------------------------------------
Hey,
sorry for late response. I did some more tests with the patch I proposed and I found out that the problem is not trivial. I'm not even sure if it can be fixed. The problem is that when you call
subProcessInstance.setSuperProcessExecution(*null*);
you break the link between child and parent process. And this link is necessary in SubProcessActivity to extract return variables.
Also when you suspend your subprocess you don't delete it from the database which is a big problem of version 4.3 in general (I think it has been fixed in 4.4).
Currently I'm testing a solution with subprocess deletion in SubProcessActivity but it still creates some problems.
I'll keep you informed.
I would be cool to have an opinion from someone from the development team on that. Anyone?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/566431#566431]
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/20101014/839ff6bf/attachment.html
More information about the jboss-user
mailing list