PrepareJobFromRepositorySearch
The ZIP file created from a step based on the CreateJobsFromRepositorySearch step template includes the data files for the jobs or documents returned by the repository
search. The ZIP file also contains any overrides files and document overrides files
if those files are returned from the repository search. The PrepareJobFromRepositorySearch step template merges the individual print, job overrides, and document overrides
files to create a single instance of each type. The step writes the files print.zip
, overrides.txt
, and document.overrides
to the spool directory of the job.
Job property defaults
- Input File: ${getFileName(archive,zip,read)}
Usage notes
- If multiple job overrides files are included in the input ZIP file and different values
exist in the files for the same job property, the job goes to Error state.
For example, in one job overrides file, the property
Duplex
is set toYes
. In the second job overrides file, the propertyDuplex
is set toTumble
. The step places the job in Error state.If one of the jobs overrides files has the property
Duplex
set toYes
and the second file does not have that property set, thenDuplex
is added to the resulting overrides file with the valueYes
. - If multiple document overrides files are included in the input ZIP file and different values exist in the files for the same document property, the document properties are added to the document overrides file created by the step. Documents that do not have a property included in their document overrides file are added with a value of null (“).
- Any step that uses a ZIP file as input can process the ZIP file created from this step. For example, steps based on the IdentifyPDFDocuments, BuildAFPFromZip, or BuildPDFromZip step templates can be used to process the output of this step. You can submit the ZIP file to a hot folder using a step based on the CopyToFolder step template. If the hot folder is set up to process ZIP files, the ZIP file is submitted as a new job.