Page 1 of 1

Problem using Hold element

Posted: Wed Jul 18, 2018 10:18 am
by mrkkrai
Hi:

I'm fetching approximately 20-25 PDFs from FTP and time interval between files is 2-3 minutes. I have set FTP check every 5 minutes and used "Hold" element (Delay scheme; 30 minutes; Cyclic) to wait until all PDFs fetched. After getting all PDFs, they are merging in a single PDF using "Merge PDF" element.

Here is the problem. I'm getting multiple PDFs containing few pages instead of single merged PDF, eg.

File1.pdf (containing page no. 1-3)
File2.pdf (containing page no. 4-10)
File3.pdf (containing page no. 11-16)
... and so on.

Please help.

Re: Problem using Hold element

Posted: Wed Jul 18, 2018 10:24 am
by sander
You need a Assemble Job before Merge PDF. Do you have one? :)

Re: Problem using Hold element

Posted: Wed Jul 18, 2018 10:27 am
by mrkkrai
No. Should I use "Assemble job" before "Hold job" element?

Re: Problem using Hold element

Posted: Wed Jul 18, 2018 10:33 am
by sander
Correct:
"Merge PDF is a processor that produces a single PDF file containing all of the pages provided by the PDF files in the incoming job folder."

You can use a sort before to order your files:
Image

Re: Problem using Hold element

Posted: Wed Jul 18, 2018 12:00 pm
by mrkkrai
It's not working. I'm doing something wrong I guess.

https://pasteboard.co/Hv0AHq4.png

For Assemble job, Scheme is Arbitrary files after 2 minutes; Orphan timeout is 30 minutes.

While for Hold job, Delay Scheme for 30 minutes Cyclic.

Re: Problem using Hold element

Posted: Wed Jul 18, 2018 12:23 pm
by sander
You don’t need hold job, just assemble job with correct timeout settings.