cancel
Showing results for 
Search instead for 
Did you mean: 

Inclusive Gateway question

nkc
Champ in-the-making
Champ in-the-making
Hi,

I'm currently trying to diagnose an issue with an inclusive gateway in a BPMN I've recently inherited.  It's on Activiti 5.16.1.

The inclusive gateway (http://tinypic.com/r/34sqn1j/8) has 4 incoming sequence flows from user tasks A/B/C/D, and none of these sequence flows have any conditions.  The inclusive gateway has one outgoing sequence flow to a subprocess.

The issue I'm seeing is where the subprocess is executed 4 times.

Would you expect this to be possible under any circumstances?  I can see the inclusive gateway name and subprocess name on ACI_HI_ACTINST 4 times for the same PROC_INST_ID_ value.

If my understanding is correct, my next step will be to produce a smaller BPMN which illustrates this behaviour.

Thanks for any help and apologies if I haven't provided enough information.

Regards
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
Yes, if 4 executions arrive at the inclusive gw, you'll probably see them four times.
What is more important, is that the gateway continues if all executions have arrived that must arrive?