Generating a Mapplet from a Rule Specification
When you finish work on a rule specification, generate one or more mapplets from the rule specification. The operation generates a mapplet for each rule set in the rule specification. A developer can use a mapplet that you generate in a mapping.
1. Open the rule specification.
If the rule specification is read-only, click Edit.
If the rule specification is under version control, check out the rule specification from the Model repository.
2. Validate the rule specification.
If the rule specification contains a validation error, fix the error.
3. Click Generate rule.
The Analyst tool creates one or more mapplets in the Model repository.
Rules and Guidelines for Generating Mapplets
The Generate rule option creates one or more mapplets in the Model repository.
Consider the following rules and guidelines when you generate mapplets:
- •If you update a rule specification after you generate a mapplet, generate the mapplet again to update the mapplet in the Model repository.
- •If you generate a mapplet in a Model repository under version control, the operation checks in the mapplet to the Model repository.
- •If you generate a mapplet more than once in the same Model repository location, you replace the mapplet in the Model repository. If you replace a mapplet that links to other objects in a mapping, the operation deletes the port links on the mapplet in the mapping.
If the mapplet is checked out of the Model repository, you cannot generate the mapplet to the same location. For example, the mapplet might be checked out in the Developer tool. Verify with the Developer tool user that you can check in the mapplet, and then try to generate the mapplet again. Or, generate the mapplet to another location in the Model repository.
- •If you change the name of a rule set and you generate the mapplet, you create a mapplet with the current rule set name. The operation does not rename any earlier mapplet that you generated from the rule set.