Working with job folders

Any folder (and its contents) that should be processed as one entity is considered to be a job folder. A job folder usually contains files and/or subfolders (which can contain other files and folders, recursively). Examples include a page layout with its accompanying images and fonts, and the individual pages in a book.

To inject a job folder in a flow, you need an active flow. Otherwise it will take the folder path of this folder as its new input folder and will treat all files as single jobs. The job folder will be moved along the flow and processed as a single entity.

It is also possible to submit job folders through a "Submit hierarchy". In that case you need to make sure that the "Subfolder levels" property is set correctly, as explained in working with subfolders above. For example, if you have a subfolder for each of your customers and these subfolders contain the jobs, the "Subfolder levels" property should be set to 1. If you would set this property to 2, the job folder would be treated as yet another subfolder level and the files in the job will be processed as separate files.

Job dismantler

In some situations you need to dismantle a job folder and continue with the job's files as separate entities. Often this is because the files arrived inside a folder, but in reality they are not part of a single logical entity. Sometimes you just want to deal with (some of) the components of a job.

For example:


In these situations you can use the job dismantler to retrieve the individual files from the job folder.

When you dismantle a job, you need to set the "Subfolder levels" property correctly. This property behaves in the same way as what is explained above for Submit hierarchies i.e. it determines how many levels Switch will search for individual files from the job.

Job assembler

Vice versa, sometimes you need to gather a number of files and keep them together through the rest of the flow.

For example:


The job assembler supports various ways of determining which files go together in a job:


By default all newly created job folders are named "Job" followed by a running count.

To create a job with (nested) subfolders, you can use the same mechanisms as described above for archive hierarchies. See Using hierarchy info for more details.