Action rules

You can express a business policy in one or more action rules.

An action rule defines the specific actions that are taken if particular conditions are met. An action rule consists of definitions, conditions, and actions.

In a rule editor, your rules appear as complete sentences because they use a natural-language, but when editing them you see that they are made up of combinations of modifiable building blocks that represent business terms, operators, and values. For example, the following action rule expresses the policy statement reject the loan of customers whose credit score is below the minimum of 200 and uses a number of building blocks:

if
the credit score of ‘the borrower’ is less than 200
then
in 'the loan report' , reject the loan with the message "Credit score too low.";

The building block the credit score of the borrower is a business term, is less than is an arithmetic operator, and 200 is a value.

You integrate business rules into your enterprise environment so that they are executed whenever a business application calls them. A business rule is integrated in such a way that it has access to the data values of relevant business terms that the rule requires for execution. In this example, the action rule needs to know the credit score of the borrower applying for a loan, and needs to be able to manipulate the loan report.

Action rules have the following basic structure: