Kiattchai Preecha-anusond [https://community.jboss.org/people/kiattchaipr] 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/719370#719370 -------------------------------------------------------------- Thank you so much for your help Esteban Aliverti. I tried to to create EndEvent in the ad-hoc process and link it to the ScriptTask as your suggestion but it did not return back to the EndEvent in the Process too. However, I found the intersting thing at the testAdHocSubProcessAutoComplete(). The "completionCondition" property of ad-hoc process was set as <completionCondition xsi:type="tFormalExpression">getActivityInstanceAttribute("numberOfActiveInstances") == 0</completionCondition> in the resource file of the test. When I set the property in my resource file like that, JBPM will return back to the EndEvent in the Process after triggering the ScriptTask. -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/719370#719370] Start a new discussion in jBPM at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
