< Previous | Next >

Viewing the completed tutorial

When completed, this tutorial provides an executable rule project that includes a complete vocabulary and business rules.

To import the answer projects and run the tutorial:

  1. Import the answer projects:
    1. Open the samples console in the en_US (American English) locale (see Opening the samples console).
    2. In the Samples and Tutorials view, locate Rule Designer > Tutorials > Editing decision tables > answer, and then click Import projects.

      The Rule Explorer view displays two projects:

      • The Java™ project carrental-xom, which defines an execution object model for rule execution.
      • The rule project decisiontable-rules-answer, which contains a complete vocabulary and a set of business rules. This project references the project carrental-xom.

      The rule project decisiontable-rules-answer also contains the following ruleset parameters:

      • rental, which is verbalized as the current rental agreement
      • session, which is verbalized as the current session

      To view these parameters, right-click the rule project and then click Properties. In the properties dialog, click Ruleset Parameters.

  2. Run the tutorial:
    1. To make sure that you are in the Rule perspective, click Window > Open Perspective  > Other > Rule.
    2. In the Rule Explorer, double-click rule project items to view them in their editors.
    3. Click Run > Run Configurations.
    4. In the Run Configurations dialog, select the Rule Project > decisiontable-answer-configuration launch configuration.
    5. Click Run.

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

Next Start this tutorial: Task 1: Importing the projects to start the tutorial.

< Previous | Next >