Sort job



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

Keywords can be used with the search function above the Elements pane.

The keywords for the Sort job element are:


Connections

Sort job supports outgoing traffic-light connections of the following types:


Properties

Property

Description

Name

The name of the flow element displayed in the canvas

Scheme

Determines the scheme used to specify a metadata value:


  • Direct: use variables or a script expression to calculate a value

  • Location path

  • Key/value pair

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