JBoss Community

Re: missing trigger in event-based gateway

created by saig0 in jBPM - View the full discussion

An example process with an event gateway:

http://community.jboss.org/servlet/JiveServlet/downloadImage/2-644253-17689/450-113/ProcessWithEventGateway.png

I know that the event gateway is like an exclusiv gateway and will wait for just one event. My question is about the behavior of the ProcessEventListener in jBPM. I expected that all nodes will canceled after one event received and fire the trigger 'node left'.

 

I use the ProcessEventListener for event correlation. When one event node is triggered, the listener register the process instance for this event on an external registry. After the node is left, the listener remove the registration. But if the listener will not trigger on event gateway, it will never remove the registration.

Reply to this message by going to Community

Start a new discussion in jBPM at Community