2022.2

Table Of Contents
When you click a link to set an expression, an input field appears below that link. Right-clicking this field
opens a popup menu that gives access to variables, the Data Selector (see "Data selections" on
page49) and the Data Repository Manager (see "Data Repository Manager" on page710).
Wildcard parameter
Expressions may contain metadata/data selection functions (see "Data selections" on page49). These
functions accept a wild card parameter "?", indicating the function operates on all nodes (not just one)
of a given level.
Examples
l
In a PDF emulation, the format of a selected region could be:
region(?,0.59375,2.21875,1.85416,2.51041,KeepCase,NoTrim)
In this case “? represents the current physical data page processed by the task.
l
The following rule:
(GetMeta(SelectedIndexInDocument[0], 11, Job.Group[?].Document
[?].Datapage[?]) Equal 0
loops through all datapages in a job, comparing their index in the document to a value.
Index/Count values
When using Index/Count values in a rule, please note that these values are zero-based: the first ele-
ment in any collection has an index of 0 and the last element's index corresponds to the collection's
length minus 1. For example, the following rule checks all Datapages to see if it is the first in its con-
taining Document:
(GetMeta(SelectedIndexInDocument[0], 11, Job.Group[?].Document[?].Datapage
[?]) Equal 0)
Adding Conditions and Sub Conditions
The Rule Interface is used to add/remove conditions or sub conditions. The available options are:
l
Add Condition: Create a new condition at the selected level, using a standard logical operator
(AND, OR).
l
Add Sub condition: Indent the selected condition by one level and create a new condition at this
level, linked with the selected condition by a standard logical operator (AND, OR). The purpose
of using sub conditions is to explicitly arrange the order on which conditions are evaluated and
the way they are nested together.
l
Delete Condition: Delete the selected condition.
Page 729