AnsweredAssumed Answered

Parallel split gateway and 2 end events - bug?

Question asked by tomasz.lewandowski.lit on May 14, 2014
Latest reply on May 14, 2014 by trademak
I have a simple process with parallel gateway with 2 outgoing flows, each ending with different end event.
Process diagram: https://drive.google.com/file/d/0B3SW4GfzebTkNm1ERFV0OGJVMHc/edit?usp=sharing

Process ends with NPE because first end event deletes both concurrent executions, then second end event tries to delete the execution ones more (this behaviour is implemented in org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityEnd.eventNotificationsCompleted).

Is it a bug? (AFAIK BPMN allows concurrent executions to end with different end event)

Outcomes