wcl3y2
5 years agoNew Contributor III
Snap After Union Executing Before All Inputs Are Received
I have the following flow, and I’m noticing that Exe Contract Amendment is getting executed before the all inputs from Union Original are received. Is that expected? If so, how do I get the Exe Contract Amendment snap to wait for the union?
Be careful with Gate… it accumulates all documents in memory and could consume all available resources if you are processing a large number of records.
You could use Sort after the Union instead, which will cache to disk and will wait for all input documents to be processed before continuing to the next snap.