Use the simple editor mode to define simple business rules
without having to write any PBL code.
To edit a business rule:
To add a condition, select one of the available project variables
or business parameters from the
Add Condition drop-down list.
Click the
Add button ().
A new condition line is added.
Select a comparison operator from the first drop-down list.
The following table shows the full set of possible operators, but
only a subset of these will be available based on the data type of the variable
or parameter you are comparing:
Operator
Equivalent PBL Expression
Equals
x = a
Not Equals
x != a
Greater Than
x > a
Less Than
x < a
Greater Than or Equals To
x >= a
Less Than or Equals To
x <= a
Between
(x >= a and x <= b)
Not Between
(a > x or x > b)
Enter the value that will be compared to in the field on the
right. Special options can appear for some data types. For example, a time
value field will be accompanied by a calendar tool to help you pick a
date.
If you are using the
Between or
Not Between operators, you will need to enter two values.
Repeat steps 1 through 4 to add more conditions as required.
If you wish to remove a condition, click the
Remove button () next to it.
Once you have set all the conditions in your business rule, save
your changes by clicking the Save button (), or by clicking
File > Save
from the main menu.