I have a flow file (Jason file with Z records) and I am using a split processor to divide it into Z flow files. I am doing so as I need to do a look up. Once I split them X flow files go on to the left and Y flow files goes to right (where X+Y = Z). Now I have to merge these Y flow files into one flow file. How do I do that ? And once that is done I need to do some processing and then I need to combine that 1 flow file with X flow files to make it 1 flow file with 'Z' records. Any idea on how to achieve it with wait and notify processor ?