Sort job is a processor that offers various schemes for sorting incoming jobs across its outgoing connections depending on metadata associated with the jobs.
For each job the tool determines the value of the specified metadata field and compares this value with the names of the outgoing connections. If a match is found, the job is moved along that connection. Otherwise the job is moved along the outgoing data error connection, or if there is no such connection, it is moved to the problem jobs folder.
Keywords can be used with the search function above the Elements pane.
The keywords for the Sort job element are:
Sort job supports outgoing traffic-light connections of the following types:
Success out: the name of each connection is matched with the value of the job's metadata field; if a match is found, the job is moved along that connection.
Error out(optional): if no match is found the job is moved along this connection; if there is no such connection, the job is moved to the problem jobs folder.
Property |
Description |
---|---|
Name |
The name of the flow element displayed in the canvas |
Scheme |
Determines the scheme used to specify a metadata value:
|
Value |
The value to be used for sorting the job |
Dataset |
The name of the metadata dataset to query; Default means the embedded dataset |
Data model |
The data model used for querying the dataset (one of XMP, JDF, XML); this must match the data model of the dataset except that XML can be specified to query JDF |
Location path |
The location path pointing at the value to be used for sorting the job (for XML this can be an arbitrary XPath expression) |
Array location path |
The location path pointing at the array containing the key/value pairs |
Key name |
The name of the key field |
Key contents |
The value of the key |
Value name |
The name of the value field |