cancel
Showing results for 
Search instead for 
Did you mean: 

Snap After Union Executing Before All Inputs Are Received

wcl3y2
New Contributor III

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?

image

1 ACCEPTED SOLUTION

koryknick
Employee
Employee

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.

View solution in original post

6 REPLIES 6

clinton_hemmant
New Contributor III

Hi

Or a Filter after the Union would also force the wait for all inputs?

Regards

Clinton

No, a Join is the thing to use