| ILOG JRules User Guide > Creating Rule Projects > Getting Started > Tutorial: Defining a Vocabulary > Step 2: Verbalize New Business Elements |
Step 2: Verbalize New Business Elements |
PREVIOUS NEXT |
You now need to update the BOM entry to include the missing classes in the BOM entry, but you do not want all their members to be verbalized automatically.
To update the BOM entry:
bom folder.
Branch, CarGroup, Offer, and Session. The class Session will be used later to display messages.
bom model to re-open the BOM Editor.
To make these business elements visible from rules, you need to verbalize them. To select which elements you want to verbalize, you can use the Verbalize BOM wizard.
To verbalize business elements:
Session.displayMessage. Leave the other selections as they are.
In the rules of the car rental policy, you will often need to declare variables as instances of BOM classes. To avoid having to declare these variables in each rule, you can generate an automatic variable for each BOM class that will be accessible from all the business rules in the rule project.
To generate automatic variables:
Branch.
carrental.
In the next Step of the tutorial, you will create a rule package and a business rule to test your vocabulary in the Intellirule Editor.
Next: Step 3: Test the Vocabulary in a Business Rule
| Copyright © 1987-2008 ILOG S.A. All rights reserved. Legal terms. Documentation homepage. | PREVIOUS NEXT |