Data Map Block: Conditional
In a business rule designed in the Configurator, you can add a Conditional component block to only perform an action if the result of a logical expression combining multiple conditions is true.
Each condition is a comparison of the value of a to a specified value or is an evaluation of the state of a data map entry. The result of each condition is true or false.
The results of the conditions are combined using either logical AND or OR operations. If AND operations are used, then the rule action is performed only if all of the conditions are true. If OR operations are used, then the rule action is performed if any of the conditions are true.
Tip: Before you can add a component block to a business rule, you must create a component set by specifying a trigger that controls when component blocks in the component set are run.
Rule Criteria
The rule criteria determine whether the rule action is performed.
Tip: You can add or remove conditions from the logical expression by clicking
or
.
Logical Operator
|
If the rule criteria include more than one condition, how to combine the results of the conditions to produce a result of true or false.
- AND: Combine the results of the conditions using logical AND operations. The rule action is performed only if all of the conditions are true.
- OR: Combine the results of the conditions using logical OR operations. The rule action is performed if any of the conditions are true.
|
Data Ref to Test
|
A print job property or the name of a data map entry to be evaluated or compared to a value. If the data map entry does not already exist, it is created.
You can select from the following for a data ref.
|
Operator
|
The operator to use when evaluating or comparing the data ref and the value for a condition.
- Equals
- Not Equal
- Equals Ignore Case
- Not Equal Ignore Case
- Less Than
- Greater Than
- Is Missing
- Is Not Missing
- Is Empty
- Is Not Empty
|
Value to Test
|
The literal value to compare to the value of a print job property or data map entry. This value is interpreted as a text string.
Note: For some operators, no box is displayed for the Value property because it is not necessary to specify a value.
|
Rule Action
The rule action is performed only if the conditions specified by the rule criteria produce a result of true.
Data Ref to Set
|
A print job property or the name of a data map entry to be assigned a value if the conditions produce a result of true. If the data map entry does not already exist, it is created.
You can select from the following for a data ref.
|
Value to Set
|
The new value of the print job property or data map entry. This value is interpreted as a text string.
|