Rule Interface
The Rule Interface can be opened from the Condition column of the following tasks:
Conditions are expressed using the following syntax:
<EXPRESSION 1> <OPERATOR> <EXPRESSION 2>
The <EXPRESSION 1> and <EXPRESSION 2> options represent the values for comparison. The interface displays clickable links as the following:
- Click to set expression
- Choose operator
- Click to set expression
The left expression (<EXPRESSION 1>) can either be a custom list or a parsable edit field. The right expression (<EXPRESSION 2>) is always a parsable edit field.
The Operator options are listed below. To set them click Choose operator option.
- IS EQUAL TO
- IS NOT EQUAL TO
- IS EQUAL TO OR GREATER THAN (>=)
- IS EQUAL TO OR LESS THAN (<=)
- IS CONTAINED IN
- IS NOT CONTAINED IN
- CONTAINS
- IS GREATER THAN
- IS LOWER THAN
- STARTS WITH
- ENDS WITH
- VALUE CHANGED
Note that when "VALUE CHANGED" is selected in the condition, the second parsed field is not considered.
Adding Conditions and Sub Conditions
The Rule Interface is used to add/remove conditions or sub conditions. The available options are:
- Add Condition: Create a new condition at the selected level, using a standard logical operator (AND, OR).
- Add Sub condition: Indent the selected condition by one level and create a new condition at this level, linked with the selected condtion by a standard logical operator (AND, OR). The purpose of using sub conditions is to explicitely arrange the order on which conditions are evaluated and the way they are nested together.
- Delete Condition: Delete the selected condition.
Example
As an example, consider the following conditional expression, where A, B, C and D are conditions of the form <EXPRESSION 1><OPERATOR><EXPRESSION 2>:
A and (B or C) and D
Such a conditional expression can be expressed by means of sub conditions in the following way:
- Define condition A.
- Select condition A and choose Add Condition. Specify the logical operator AND.
- Define condition B.
- Select condition B and choose Add Sub Condition. This will indent condition B and allow to define the condition C. Specify the logical operator OR.
- Define condition C.
- Right click on the first AND operator (the one right after condition A) and choose Add Condition. Specify the logical operator AND. This will create a condition at the same level as A.
- Define condition D.
The resulting conditional expression will be indented like this:
A
AND
B
OR
C
AND
D