Versions Compared

Key

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

...

Table of Contents

Setting a boolean value?

Blueriq offers multiple possibilities to set a value for a boolean result, these are listed belowWhen modeling a decision that is limited to a small number of values (for instance Boolean), there are multiple possibilities to achieve this:

  1. Using a constant value and a business rule to set the contrasting value if a condition is true.
  2. Using two business rules
  3. Using a decision table

Using a constant value and a business rule

Image ModifiedImage Modified

...

Using two business rules

...

 

Image ModifiedImage Modified

...

Using a decision table

 

 

Image Modified
Info

It is tempting to skip the column for male, but it is advised to model a complete table.

Info

It is perhaps even more tempting to skip the [ ]-column for ELSE but it is strongly advised to model ELSE whenever the values are not restricted by a value rule.

If Applicant.Gender was in fact limited by a value rule consisting of the values Male and Female, the ELSE-column was otiose.

 

What to use?

The choice of method is often based on the preference of the business engineer. But the General recommendations are listed below:

  1. When Whenever the result is dependent depends on multiple input values, it is best to use the a decision table.
  2. When Whenever the result is dependent on a calculation, it is best to use a form with a business rule.
  3. It is recommended to formally decide which method to use and capture that Make an agreement in an architecture document which form to use. A consistent use of a style throughout a project will help the maintainability of a project.

...

  1. There are many roads that lead to Rome, but within one project it is best if all business engineers follow the same road.

Size of decision table

With multiple inputs or value categories decision table can get very large in size. Decision tables that are to large in size are not easy to oversee and by that to understand. In general you can state that a table should have a maximum of 12 columns. When the number of columns exceeds this number it is advised to split up the table. 

...