Esteban Aliverti [
https://community.jboss.org/people/eaa] created the discussion
"Re: JBPM stuck when reach AdHocSubprocess and stop executing when reach
IntermediateThrowEvent"
To view the discussion, visit:
https://community.jboss.org/message/719361#719361
--------------------------------------------------------------
In the case of ad-hoc processes (same thing for embedded supbrocesses), you have to
explicitly say when you want to finish them by putting a End Event Node (not a terminating
one). In your case, you need to attach a End Event Node to the Script Task inside the
ad-hoc process.
About the test you are mentioning ( testAdHocSubProcess()), I'm not sure what test is
that.
Best Regards,
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/719361#719361]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]