You edit the decision table to include overlapping interval data, view the Problem
descriptions, and correct the error.
About this task
You enter overlapping data in the decision table.
Procedure
- 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
- Run the rule application:
- Click .
-
In the Run Configurations dialog, select the launch configuration.
- Click Run.
-
Click OK in the Save and Launch message
box.
In the Problems view, messages indicate an
overlapping data error in lines 1 and 2 of column 2. These lines 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
-
Run the business rule application again with the DT-start-Alice launch
configuration.
What to do next
In the next task, you created errors and corrected them.