Hi,
I was trying to throw and catch a message while also running a count down timer, that terminates the process in case a message is not received within a certain time.
I therefore used a parallel gateway. I ran into some issues and wonder now, are the different branches running in parallel or randomly sequential?
In this process, my service task on the top throws a message, which the intermediate message catch event receives and successfully executes.The service task asks the user per command line, if a message should be thrown.
http://community.jboss.org/servlet/JiveServlet/downloadImage/2-628338-17049/450-118/Capture3.GIF
I then tried to introduce the timer as a thrid branch. However, the timer is never started. It never "runs into check if message received within time frame".
http://community.jboss.org/servlet/JiveServlet/downloadImage/2-628338-17050/450-217/Capture2.GIF
I then remodelled the process. Here, suddenly the intermediate catch event is never executed.
http://community.jboss.org/servlet/JiveServlet/downloadImage/2-628338-17048/450-239/Capture1.GIF
Are those parallel gateways executed sequentially or do they run in separate threads and are executed in parallel?
I know usually I would use an intermediate catch. However, I have to present my process to my boss next week and I have to show, how easily I can introduce change in a modeler to a process and execute it. So subprocesses and event based splits are not an option for this model.
Best regards,
Tobias