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/719354#719354

--------------------------------------------------------------
Thank you Esteban Aliverti for your help.

I take a look at the tests as your suggestion. Now, I can trigger the 
ScriptTask inside the AdHocSubProcess by using 
kSession.signalEvent("ScriptTask", null, activeProcessInstance.getId());. 
However, the JBPM did not return to EndEvent in the Process after the 
ScriptTask was triggered. I tried to using mKSession.signalEvent("EndEvent", 
null, activeProcessInstance.getId()); but it did not work. It seem that the 
ScriptTask was triggered but not completed. Additional, I tried to run the 
testAdHocSubProcess() at the test and found that the ScriptTask named "Goodbye" 
was not triggered same as the EndEvent in my Process too. Is it a JBPM bug? Or 
I miss something?
--------------------------------------------------------------

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

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

Reply via email to