Rule Editor Dialog

Use this dialog to create rules for determining whether a Finishing options setting should be applied or not, or whether a specific output bin should be used (Printer settings).

The rule(s) apply at a Group level. There may be one rule or many rules at the same level, and there may be groups within groups, providing the ability to create quite complex nested logical structures.

Group

A group consists of one or more rules with a logic operator. Four logic choices are available at the Group level. These are:

  • All of the following.
    This equates to the logical operator (... AND ...).
    If all of the associated criteria are met, then this group resolves to TRUE.

  • Any of the following.
    This equates to the logical operator (... OR ...).
    If any of the associated criteria are met, then this group resolves to TRUE.

  • Not all of the following.
    This equates to the logical operator (NOT(... AND ...)).
    If any (but not all) of the associated criteria are met, then this group resolves to TRUE.

  • Not any of the following.
    This equates to the logical operator (NOT (... OR ...)).
    If none of the associated criteria are met, then this group resolves to TRUE.

The top level is always a group. A group can contain one or more Rules and/or Groups.

Rule

A Rule is a logic expression using a single operator or function, and their associated operand(s). The number and type of operands is dependent upon the operator or function chosen.

Rules can also have different types. The available rule types depend upon the context where the Rule Editor is used. For instance, within Job Creation, there can be data rules that are based on record data belonging to a content item, but there will also be "location rules" that deal with the position of a document within the job.

The Rule types are as follows:

  • Data Rule: This rule operates upon Data entries. Select the Data Field, then select the logical test and the associated test value(s). The rule can test whether one entry "is equal to" and "is not equal to" to another entry, or whether the string "contains", "does not contain", "starts with" or "ends with" another string value. The "is like" and the "is not like" selections allow the use of "*" wildcards. The "is set" and "is not set" selections allow to determine whether the data field has a value or not (i.e. do a null comparison).
    The comparison string could be a manually entered string, or it could be another data field.

    In the Data Filtering Options rules editor the comparisons are always case sensitive. In other rule editors there is an option to turn off case sensitivity.

  • Position:
    This rule operates upon the position of the selected group within the broader group. It operates at Section, Document, Document Set and Job Segment levels. The logical operators that apply a totally dependent upon what grouping the position is to apply to.

  • Size Rule: This rule operates upon the size of the selected group. This could be the amount of sub-groups contained within, or the amount of physical Sheets. The logical operators that apply are dependent upon the group that the size test is being applied to.

The following example shows a test to return all the adult males in the state of Victoria. It might not capture all the males (as the dataset does not contain this specific data), but it at least allows us to extract all those we can, with the information available to us: