Versions Compared

Key

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

Image Removed  What if in certain situations, an attribute must be set to UNKNOWN in a decision table?

One could argue that to achieve this, the default should be set to unknown (a.k.a. no default is specified) and the situations in which the attribute should remain unknown should not be part of the decision table. This works fine, since a decision table and/or other logic elements will infer the value of that attribute and if no inference is applicable, the default value is chosen. Even if there is no default value, in that case the attribute remains unknown.

But what if you would want your decision table to be complete and hold all possible alternatives?
Or even in an incomplete decision table with a default, what if there are situations where the derived attribute really is unknown?

In that case, it must be possible to let the decision table set an attribute to unknown, using the symbol * or ? to achieve this.
(one might argue that the symbol ? would have been a better candidate for that).

See the example below:

Image Added

Image Added

Image Removed

The example above should be read as follows: For males, the discount for some fictitious product is 5%, 7% or 10%, depending on the age of the applicant. For females over 18 the percentage is 5%. For females under aged 18 or younger the discount cannot be inferred, a case handler should determine the discount on a case-by-case basis.

...

typewarning

...

.

Panel
Section
Column
width50%

Main chapter: Design considerations

Previous: Local variables

 
Column