Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A prime example of a business rule is a rule that has a boolean as result. Let's say that any applicant can request a certain insurance, and all women receive a discount. In this particular case, a default constant value for Discount is set to False and a business rule can be created that overwrites this attribute to true whenever the applicant is female:

Image Modified

Decision table

A decision table is used best when the possible outcome of the logic is one of many values. Let's say that when applying for a certain loan, a risk category is determined. Based upon applicant characteristics such as recurrenc and a calculated risk score, the risk category is either verylow, low, medium, high or decline.

Image Modified

Default value expression

...