2022.2

Table Of Contents
This task is put into effect in the following example process: "Example: Daily sales report from PDF
files" on page228.
Input
This task captures all of the PDF files present in a specific folder, in one operation.
The Merge PDF Files Input task performs just like any other Input task: once the process has com-
pleted, control is transferred back to the Input task one last time to check if new files meeting the mask
have come in. This means that the merging of PDF files that are not all present at the start of the pro-
cess may take several passes, which may have an adverse effect on the overall performance and the
size of the resulting PDF.
Processing
Once all PDF files are captured, their original copies are deleted from the input folder (or tagged as
Archive if this option is selected) and they are merged into a single PDF. This is done in a single oper-
ation, not incrementally, meaning the file is built once and, if the option is chosen, optimized once.
Output
A single PDF containing as many pages as all the combined input PDFs is generated. If the option is
selected, this PDF is optimized. An optional Metadata file is also created, containing information about
the PDFs. This Metadata is divided in such a way that each PDF file is its own document, which can
contain multiple data pages.
Task properties
General Tab
l
Folder: Enter the full path of the folder from which the input files are to be taken.
l
Masks: Enter a single or multiple file names or use file name masks. See "Masks" on page291.
Since this task only supports PDF files, make sure your extension remains .PDF for all your
masks.
l
Sort files by: Select a given sorting method to prompt PReS Workflow to sort the files in the
source folder before taking them (and thus to take them in a specific order). Select None to let
PReS Workflow take the files without sorting them first.
l
Sort order: If you selected a sorting method in the Sort files by box, select the order in which
you want the files to be sorted.
l
Use archive attribute: Select to turn on the archive attribute of the data files found in the source
folder and to leave them in their original location (i.e. to take copies of the source files). Note that
PReS Workflow never takes source files that have their archive attribute turned on (so the source
Page 318