So i have one employee on leave and that employee has two managers. So the expectation is that each manager gets one email. For some reason the sub process,Send mail notification to each Manager, gets executed twice as expected but each manager is getting two emails.
I thought so too but there was no explainable cause i could find by looking at operate. So I deleted & recreated the model again with the same input/output parameters and it is working as expected now. Not entirely sure what the issue was. The question can be closed. Thank you.
This rings a bell. We saw the same effect in the past.
It can happen that there is a second sequence flow from “Prepare Email” to the multi-instance subprocess. The second sequence flow is hidden under the first one. In the modeler, this is not obvious.