Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrate text boxes

Image Removed  This chapter discusses typical design considerations when designing and implementing a decision with a limited number of possible outcomes using Blueriq.

...

  1. Using a default value expression
  2. Using a constant value and a business rule
  3. Using two business rules
  4. Using a decision table

Default value expression

...

Info
iconfalse

Image Added

Constant value combined with business rule

...

Image Removed

...

Info
iconfalse

Image Added

Image Added

Two business rules

...

Image Removed

...

Info
iconfalse

Image Added

Image Added

Decision table

Info
Image Removed
iconfalse

Image Added

note
Info
UI Text Box
type

It is tempting to skip the column for Male, but it is advised to model a comprehensible table. In most cases, comprehensibility implies completeness (the mere fact that Male is missing from a gender-table might cause suspicion).

Info
UI Text Box
typenote

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

If Applicant.Gender was in fact limited by a value list consisting of the values Male and Female and it is obvious the set will never expend, the ELSE-column would have been redundant.

...

  1. Whenever the result depends on multiple input values, it is best to use a decision table.
  2. Whenever the result is a calculation, it is probably best to use an attribute displayed on a form with a business rule or default expression.
  3. When using justifications (and you will most likely use them, since they are a best practice), the default value expression has limits; only one justification can be used, regardless of the outcome.
  4. It is recommended to formally decide which method to use and capture that in an architecture document. A consistent use of a style throughout a project will help the maintainability of a project. There are many roads that lead to Rome, but within one project it is best if all business engineers follow the same road.

...


Panel
Section
Column
width50%

 Main chapter: Design considerations

Column

Next: Designing decision tables