The language that creates Business Rules is straightforward and composed of two primary elements.
Element | Purpose |
Directives | There are a small number of directives that create holders for statements. These directives dictate when a statement is executed, for example before an add or edit screen is displayed, or before or after an update to the database is performed. There are also a number of directives that help with other tasks such as mailing, linking items and debugging. All directives are contained within the characters <== and ==>. Each directive may be repeated any number of times within the rules, usually to maintain clarity and to group statements for a single business function together. |
Statements | Statements are logical expressions that perform specific actions within each directive. For example a statement may be assigned a discrete value or assigned the value of another field. You may use logical "if" statements. There are a number of special values and special actions that may be used within statements. |
Business rules are organized by Business Area, and you may also define global rules.