How to merge two pdf files from two flow files into one pdf file in Nifi
HI ,
Could you please help me How to merge two pdf files which are coming from two flow files into one pdf file in Nifi.
I'm trying to merge two files (invoice file and QR File) from two flowfiles and used mergecontent processor but only single file(first file from 2 input files but not merged file) coming as merged file, with the combined file size.
Files flow:

for the first flow file updateattribute maintained fragment.index=0 and second flowfile udpateattribute maintained fragment.index=1 and for combined flowfile updateattribute Before merge processor given fragment.count=2
Mergecontent Config:

Can anyone help on this?
Regards,
Pradeep

