You can load and run the completed version of this tutorial
by following these step-by-step instructions.
About this task
When you finish, you can run the ruleflow made
with the tutorial, and view its output.
Procedure
To load the completed version of the
tutorial and run it:
- Load the completed version of the tutorial:
- Open the Samples Console in the en-US (American English)
locale (see Running samples from the Samples Console).
- In the Samples and Tutorials view, navigate to
Rule
Designer
> Tutorials > Creating
your first ruleflow > answer,
and then click Import projects.
Two projects appear in the Rule Explorer. The Java™ project carrental-xom defines
an execution object model for rule execution. The rule project ruleflow-rules-answer contains
a set of business rules and a ruleflow. This rule project references
the project carrental-xom. The ruleflow is stored
in rules/flow/carreservation.
- Run the tutorial:
- Make sure you are in the Rule perspective. To open it,
go to the Window menu and click .
- To open the ruleflow in the Rule Explorer, double-click ruleflow-rules-answer/rules/flow/carreservation to
display this ruleflow:
- On the Run menu, click Run
Configurations.
- In the Run Configurations dialog, select , and then click Run.
The
Console view displays the output.
Results
The Console view shows that the rules process
requests for rentals, and compute offers based on information about
the customers.