< Previous

Task 7: Running the decision table

In this task, you run a decision table and view the results.

Procedure

To run the decision table:

Run the business rule application with the DT-start-<user_name> decision operation launch configurations.

The Console view displays messages that describe the actions carried out by the business rules in the project.

Results

The decision operation applies as follows for the four rental agreements:

  • DT-start-Alice: The rental agreement for Alice Boorman is refused as she is younger than 25, which makes her ineligible to rent a car in Rhode Island. This is indicated by the message: In Rhode Island state, customer must be 25 or more to rent a car.
  • DT-start-Evelyn: The rental agreement for Evelyn Gosling is accepted because she is over 21 and lives in a state where she is eligible to rent a car.
  • DT-start-Julian: The rental agreement for Julian Bayles is accepted because he is older than 25, so he is eligible to rent a car in all four states.
  • DT-start-Mary: The rental agreement for Mary Gerrard is accepted because she is over 21 and lives in a state where she is eligible to rent a car.

You completed the tutorial on editing decision tables with Rule Designer.

< Previous