Configuring the Rule Specification
After you analyze the business requirements and the business data, you can configure the rule specification.
To configure the rule specification, perform the following tasks:
1. Select Rule Specification from the New menu.
2. Enter a name for the rule specification.
3. Optionally, enter a description.
Tip: Enter the business rule as the description.
4. Select a location for the rule specification.
The Location field specifies a project in the Model repository.
5. Save the rule specification.
The rule specification opens in the Design workspace.
6. Verify the general properties.
- - Select the top-level shape in the rule, and select Rule Properties.
- - Verify that the settings are correct for the data inputs that you create.
7. Configure a rule statement in the primary rule set.
The primary rule set defines the data output from the rule specification.
8. Optionally, update the primary rule set name.
- - Select the primary rule set, and select General.
- - Update the rule set name.
9. Add any rule set that the rule specification requires.
You add a rule set below another rule set.
10. Add one or more inputs to each rule set.
- - Select the top-level shape in the rule, and select Inputs.
- - Enter an input name, and verify the input properties.
11. Add any rule statement that the rule specification requires.
You can add a rule statement to the primary rule set or to another rule set.
12. Save the rule specification.
After you configure the rule specification, test the rule specification with sample data.
After you test the rule, compile the rule to create a mapplet in the Model repository.