Rule Specification Guide > Introduction to Rule Specifications > Rule Specifications and Version Control
  

Rule Specifications and Version Control

If the Model repository that stores the rule specifications integrates with a version control application, you can apply version control to the rule specifications.
You can check in and check out rule specifications from a Model repository that supports version control. You can undo a checkout, retrieve an earlier version, and restore a rule specification to an earlier version. When a rule specification is not under version control, the Model repository locks a rule specification while you edit it.
You can add a mapplet to a rule statement regardless of the versioned status of the mapplet. The rule statement reads the most recent version of the mapplet in the Model repository.
The rule specification does not store version information for a mapplet that you add to a rule statement. When you generate a mapplet from a rule specification, the mapplet that you generate includes the most recent version of any mapplet that you add.

Working with Rule Specifications in a Versioned Model Repository

To open the rule specification in read-only mode, click a rule specification name. To work on the rule specification, enter edit mode. If the rule specification is checked into the Model repository, check out the rule specification before you edit it.
    1. On the Informatica toolbar, click Open.
    The asset library opens.
    2. Select the Rule Specifications asset category, and select a rule specification name.
    The rule specification opens in read-only mode.
    3. To edit the current version of the rule specification, click Edit.
    To edit the rule specification that a user checked in to a versioned Model repository, check out the rule specification.
    Note: If you right-click the rule specification name, you can use the menu options to open, edit, or check out the rule specification.
    4. When you complete work on the rule specification, click Save and Finish.
    The Analyst tool saves your changes to the rule specification.
    If you checked out the rule specification from a versioned Model repository, check in the object. A versioned Model repository does not update the rule specification version until you check in the object.