Learn how to create an error in the decision table by entering
overlapping data, and then correct the error.
In this task, you edit the decision table to
include overlapping interval data, view the Problem descriptions,
and correct the error.
To enter overlapping data in the decision
table:
- In the MinimumAge decision table,
change the second minimum age for New
York from 21 to 19 so that
you now have the following values:
New York, 18 <= age < 21, Rejected = True
New York, 19 <= age < 25, Rejected = False
- In the Run menu, select Debug
Configuration and then click Run.
Click Yes in the Save Resource message
box.
In the Problems view, messages
indicate an overlapping data error in lines 1 and 2 of column 2, which
correspond to the rules for New York state:
- Restore the edited row to its original values by changing 19 back
to 21:
New York, 21 <= age < 25, Rejected = False
- On the Run menu, select Debug
Configuration and then click Run.
Click Yes in the Save Resource message
box.
The Problems view no longer contain
warnings.