[Enterprise Extensions only]
Previous topic Next topic

Different types of business rules

The two types of rules are:

Base rules are the most common type of rule used, and are triggered with the TriggerPoint.trigger method.

There are a number of kinds of base rules:

On the surface, classifier rules are much like base rules, however they differ in that they can be used to determine the ways in which variables are classified by a business. Classifier rules are triggered with the TriggerPoint.triggerClassifier method.

A classifier rule is used to compute a classification for a particular business situation. The classification returned is required to be a String. For instance, a bank customer may be classified into Gold, Silver, and Bronze categories based on their spending history or the amount of money they have in their account. For more information on the kind of support that BRBeans has for this type of rule, refer to Situational Trigger Point - an example.

Previous topic Next topic