Introduction to Business Rules

A Business Rule defines a logical (true or false) condition consisting of one or more conditions calculated from fields of a business entity (business process or entity registry).

Editing Business Rules

All editing is performed by the Business Rules Setup dialog.

Configuration of Business Rules

Creating a Business Rule

First, choose a form field in the first column, which has a textual search.

Select field for business rule

Then, select in the second column a condition operator. Operator options vary depending on the data type of the previously selected field.

Operator of a business rule

Finally, select a value for comparison. This value can be constant as in the figure below.
Value of a business rule

To compare with another field, then click the two arrow icon. In this way, the value field is toggled by a field selection box similar to the first column.

Field for comparison on a business rule

Adding conditions

After adding one or more conditions, it is possible to accumulate new ones with a click on the “Add Rule” button.

Composite Rule

If the logical operator “ALL (AND)” is used, then all conditions must return “true” so that the final rule is also “true.”

Using the “ANY (OR)” operator, if at least one of the conditions is true, then rule returns the “true” value.

The “NONE (NOT)” operator is usually used with only one condition to invert the configured condition. When used in a compound rule it returns the negation for the condition “ALL (AND)”.

Nesting conditions

Nesting business rules allows the creation of sub-conditions within a rule. In the following example the final rule will return true if the Final Price value is greater than 1000 and if the Request type is equal to “Internet” or “Wireline TV”.

Business Rules and new versions of processes

Whenever you generate a new version of a process, all business rules are cloned, and any maintenance performed on the new version will not affect the previous version.

Was this article helpful?