Task 7: Running the decision table

You run a decision table and view the results.

About this task

You run the decision table.

Procedure

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. The decision operation applies the four rental agreements as follows:

  • 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.

Results

You have completed the tutorial. It showed you how to edit decision tables by using Rule Designer.