Why is the 'Expand Dynamic VDP data' task sometimes writing multiple PDF files?
Depending on how complex or how many entries your database (for example csv file) contains, multiple PDF files will be output.
In the example above, the CSV file contains 500 entries. The 'Expand Dynamic VDP Data' task will create two PDF files in this case. One PDF has 250 pages, containing the entries 1 till 250.
The second PDF file contains the rest of the entries from the database starting from entry 251 till 500. (When you open those PDF files in Adobe® Acrobat®, you will notice that each page represents an entry from the database).
It's perfectly possible that only one PDF gets created as well but it all depends on the complexity of the job. Eventually when the 'Step & Repeat Tabular (Dynamic)' or 'Step & Repeat Template based (Dynamic)' is executed, the files are combined again and one PDF file gets created.
Expand Dynamic VDP Data task is able to launch multiple workers.
Two workers per processing channel.
Each worker will receive a portion of the database entries and will generate one PDF/VT file.
The more workers are needed to process the job the more PDF/VT files will be generated.
The task will measure how much memory is used and how long it takes to generate a PDF/VT file.
Amount of database entries for the next worker will be increased in case the current worker used reasonable amount of memory and finished within expected time.
The task can also decrease the amount of database entries in case the workers are using high amount of memory or are taking too much time to finish the task.
The number of pages in a PDF/VT file can be anywhere between 50 and 10 000.
The actual amount will vary between generated PDF/VT files.