Task 4: Correcting an overlapping data error

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

  1. 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
  2. Run the rule application:
    1. Click Run > Run Configurations.
    2. In the Run Configurations dialog, select the Decision Operation > DT-start-Alice launch configuration.
    3. Click Run.
    4. 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.

  3. Restore the edited row to its original values by changing 19 back to 21:
    New York, 21 <= age < 25, Rejected = False
  4. 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.