The Submit hierarchy element allows you to process files that are
stored in a folder structure with different levels, and to remember the original location of
each of these files. Different from the Ungroup element (which ungroups all files in a folder
structure), you can configure this element to only pick up particular files in particular
subfolders.
How does it work?
Switch picks up the required files, based on the properties configured for the Submit hierarchy
element. The main properties are:
- The Path to the hierarchy root: Indicates the highest level
where Switch must start searching for files or folders to be processed.
- The Subfolder levels: Indicates how many levels deep Switch
must search for new files or jobs.
Note that, if the specified level contains another
subfolder, this subfolder will be considered as one job, i.e. it will be processed as
one entity, and not as a separate job.
Tip: If you are not sure about
the number of levels, or if you want all files to be processed separately (regardless
of their nesting level in the hierarchy), set the Subfolder
levels property to a very high value (for example: 999).
- The Process these folders property: If not all folders on the
selected level should be processed, you can set this property to
No and use the following fields to include or exclude
particular folders.
Hierarchy location path
The hierarchy information is stored as a hierarchy location path, consisting of one or more
segments, each segment representing the name of a (sub)folder in a nested folder structure. The
first segment represents the top-level folder. For example, the folder structure below is stored
as a hierarchy location path consisting of the segments CustomerA, Input and
PDF (in that order).
Tip: Use a sample job to see how the saved hierarchy location path looks like. The
hierarchy is shown in the Hierarchy column of the Jobs pane.
The Hierarchy column is not by default available. To display this column, proceed as
follows:
- In the Jobs pane header, right-click one of the column headers and select .The new column (Column1) is now visible in the Jobs pane.
- Right-click the Column1 header and select Set column
header.
- Type Hierarchy and click OK.
- Right-click the Hierarchy column header and select .
- Select Job (from the first column) and
Hierarchy (from the second column) and click the
Insert variable button.
- Click OK.