7.4

Table Of Contents
Document, and this value is set to 5, a 100 document job file will be divided into 5 sequences of 20 documents
each.
l Thefollowing rule: Determine if a new sequence starts or if the current one ends. For each metadata level,
the current value of the specified metadata attribute/field is compared with the one in memory. If they are dif-
ferent, either a new sequence starts or the current sequence is ended. The next sequence starts with the next
metadata level being processed. For details see the Rule Interface.
Metadata Sorter
The Metadata Sorter Action task allows metadata to be sorted sequentially on three different levels, alphabetically or numer-
ically. It also allows sorting in ascending and descending order.
Input
Any data file with accompanying metadata.
Processing
The order of the metadata is changed in accordance with the rules set forth in the task's properties.
Output
The original data file is output, along with the modified metadata.
General Tab
l Group:Sorts the metadata by group.
l Document:Sorts the metadata by document.
l Data page:Sorts the metadata by data page.
For each parameter, three columns are available:Sort By, Then by, Then by (again). This lets you sort your document level in
three different orders sequentially. Sorts are always done from left to right, top to bottom, giving you a total of 9 sorting pos-
sibilities.
When you click on either of the sort boxes, a small popup displays the following options:
l Sort by:The drop down displays a list of available fields and attributes in that level, letting you select on which to sort.
The field or attributes must be present for every instance of the level you are searching on, or the task raises an error.
l Order:Choose Ascending (orders like a,b,c, or 1,2,3) or Descending (orders like 3,2,1 or c,b,a) order. If the Numeric
sorting option is not checked, numbers are sorted like this:"1, 10, 11, 12, 2, 3, 4, 5, 6, 7, 8, 9".
l Numeric Sorting:Check to sort numerically instead of alphabetically (only supports whole numbers. Currency with
thousands separator and decimal points will not work). If any non-numeric value is found in the field or attribute, in any
instance of the level, the task raises an error.
On Error Tab
The On Error Tab is common to all tasks. Details can be found on Task Properties Dialog.
If storing the message or ID, if they are store in a jobinfo they will be available in any error handling process where errors are
being forwarded. In all cases, if your process continues after the error, the contents of the variables selected in this window
will be available for the rest of your process, or whenever they are overwritten.
Common Errors