Task 2: Verbalizing new business elements
You learn how to update the BOM entry, verbalize your business elements and generate automatic variables.
About this task
You now need to update the BOM entry to include the missing classes, but you do not want all of them to be verbalized automatically.
Step 1: Updating the BOM entry
You update the BOM entry to include the missing classes.
Procedure
Step 2: Generating automatic variables
In the car rental policy rules, you need to declare variables as instances of BOM classes. To avoid having to declare these variables in each rule, you can generate automatic variables. Automatic variables are variables that you declare as an instance of a specific BOM class. Then, they are accessible from all the business rules in the rule project.
Procedure
- In the Outline view, click the class Branch.
- In the BOM Editor, in the Class Verbalization section, select Generate automatic variable.
- Repeat these steps for each class in the carrental package.
- Save your work. Automatic variables are now defined for all the classes of the BOM.