MergePDF Java Action - Limit 10 PDF Files?

0
Hi – I’m using the Java community action to merge PDF files … Is there any way around the limit of 10 files to merge? That is the error I’m getting in my log
asked
3 answers
2

MergeMultiplePdfs_MaxAtOnce constant can be increased to allow combining more than 10 files

answered
1

Yes, do it multiple times. Let's say you have 20 documents. Then merge for instance the first five and use the result as the first for the next five. So in short, create a temp file for the first five, create a temp file for the next and in the end merge the temp files. With some logic in the microflow you can make sure you never reach the 10 limit.

Regards,

Ronald

 

answered
0

Yeah, the problem is, I don’t know the number of records in advance so need to tell the loop to loop itself repeatedly a dynamic number of times to get me to a final consolidated document (which is what I want in the end) … I know this is possible but seems a little clunky and error prone for me to code … Thanks for the tip though

answered