Hello!
I have problem with Inclusive Gateway. I have scheme like in the picture below
My process stoped in the green join gateways. It is situation like a classic deadlock in multithreading.
If i delete reverse branch process will finish successfully,
I think InclusiveGateway works with error. InclusiveGatewayActivityBehavior checks every active execution and it checks lover parallel branch too. InclusiveGatewayActivityBehavior checks ability to get join inclusive gateway. InclusiveGatewayActivityBehavior considers revers path.
I think problem in method isReachable(https://github.com/camunda/camunda-bpm-platform/blob/588633db96e0ea92a0d604a016805bd976d05cec/engine/src/main/java/org/camunda/bpm/engine/impl/bpmn/behavior/InclusiveGatewayActivityBehavior.java#L141), which finds path recursively and it consider reverse path necessary. But reverse path should not be considered.
I think it is bug. Am I right?