Working with rules

A rule is a set of one or more conditions. You can apply the conditions specified by a rule to place markup, extract data, or specify media and finishing options. You can also include a rule as a condition within another rule.

For example, you can use a rule to:

  • Place a barcode on the first page of each document in your PDF file
  • Extract a customer’s name when the city in the mailing address is New York
  • Specify gold media for the first page of each document for a Gold Club member

Each condition in a rule compares two values. The first value can be a Predefined Rule (a rule defined by RICOH ProcessDirector Plug-in for Adobe Acrobat that specifies pages within documents), a Custom Rule (a rule that you have defined), a conditional trigger, a job property, a document property, or a statistic. The choices for the second value depend on the first value.

When you create a rule with multiple conditions, you can specify whether the rule requires all conditions to be met or any condition to be met.

Rules can evaluate static and dynamic values. For example, a rule can evaluate whether the total number of documents in a job is greater than 10. A rule can also evaluate whether the value of the Doc.Begin.Balance document property is equal to the value of the Doc.End.Balance document property.

The Figure below shows a rule with five different types of conditions.

Rule with multiple conditions

Rule Builder dialog showing a rule with multiple conditions