Hello Team,I'm using a MNI startprocess with the Run one instance for each item in pv!array (spawn all) along Run all instances at the same time(move when All instances are done), in process parameters I'm sending pv!array[tp!instanceindex] to another process.In one scenario I have only one element in pv!array, but it triggered 2 instances for the same data. Could anyone explain me why this happening?Stefan Helzle
Mike Schmitt
Discussion posts and replies are publicly visible
Is that really possible, a MNI node will execute a prior node once again? if yes how to avoid that?
Mike Schmitt said:if a prior node in the same flow executed by MNI and ended up sending 2 separate flows to the "matches found" XOR, which both take the "Yes" output, they would then both kick off the ProcessMatch start process node.)
Well, we do not know what your model is doing and how it is designed. From the screenshots, it is hard to say.
But it works as designed, and if you want to make sure that there is only a single flow into that node, you have to configure any previous node so that it does not create multiple.
Navin Kumar Selvam said:a MNI node will execute a prior node once again?
i'm saying (for example) if a prior node in this process flow (since your screenshot is not comprehensive, i have no way of knowing) executed 2 flows that continue through the portion we can see, it would kick off the mni "start process" node twice (each instance executing once per the size of your PV array, but still launching 2 instances in total).
Yeah it would be really helpful if you posted the full screenshot of the process model. In general in these scenarios I have seen that when you drag a node away from it's current path, you might end up with overlapping paths (e.g. a path directly from your script task to the start process node and a path that goes through the gateway.