Hi Vijay, error "u is not a function" usually means the ZipDocuments action is getting the wrong type of input. Make sure you’re passing a list of committed FileDocument objects, not raw PDF data.
Check that your microflow creates and saves the PDFs as FileDocument entities before adding them to the list. Also, verify you’re passing that list correctly to the ZipDocuments Java action.
Try testing with a simple list of existing FileDocuments to confirm if the issue is with PDF generation or the Zip action itself.
Hope this helps! :)
You can use MergeMultiplePDFs action which is available in Community Commons it allows to merge multiple lists of PDFS into one PDF.
I Hope this will Help you :)