Enabling Contract Document Versioning
To enable Contract Document Versioning for your org, consider the following implementation options:
- Enable Comply System Properties for Versioning
- Add Version-Related Merge Event Actions
- Add the Document Version Related List to Agreement Layouts
- Add the Document Version to Document Naming Convention
To enable Contract Document Versioning for select agreements or based on conditions (without applying versioning globally):
- Add the Version Aware field to Agreement Layouts
- Add Workflow Rules to make Agreements Version Aware (optional)
To configure Comply System Properties for Versioning
Use Comply System Properties settings to enable Contract Document Versioning for agreements in your Org.
To add document version in document naming convention
You can append the document version to the document name by leveraging the %version% attribute of the document naming convention property. To configure this:
- Navigate to Setup> Develop> Custom Settings> and click Manage link next to Comply System Properties.
- Click Edit.
- Configure the document naming convention field value as: %:Name%_%templatename%_%timestamp%_%version%
- Click Save.
An example agreement document name using above setting would be: Apttus NDA_NDA_2017-05-14_1.0.0. Here the '1.0.0' appended at the end refers to the document version.
If you have configured %version% attribute in the Document Naming Convention property but the Enable Document Versioning property is disabled, the agreement document name shall contain an empty string in place of the version attribute.
For example- If you have configured Document Naming Convention field as %:Name%_%templatename%_%timestamp%_%version%, but you have disabled Enable Document Versioning property, the generated sample agreement name shall be Apttus NDA_NDA_2017-05-14.
To trim the third decimal and number from the document version attribute in the Document Naming Convention property, select Trim Document Version checkbox in Document Version Properties. For more details on Trim Document Version, refer to Document Version Properties.
To add Version-Related Merge Event Actions
For Document Versioning to work properly, the picklist values for the Merge Event Action must be updated.
To add the Document Version Related List to Agreement Layouts
To view Document Version details for your agreement documents, the Document Version Related List must be added to your Agreement Page Layouts. To add the Related List to your page layouts, refer to Salesforce documentation for Edit Page Layouts for Custom Objects .
To add the Version Aware field to Agreement Layouts
The Version Aware field is a flag that tells Conga CLM if a specific record is using Document Versioning. When the Comply System Property Enable Document Versioning is enabled, the value of the Version Aware field is set to TRUE for all new agreements org-wide at the time of record creation. You can add the Version Aware flag to your Agreement layouts as a field which allows agreement editors to turn Document Versioning on or off for a specific agreement record.
Important Note: It is recommended that once a record is flagged as Version Aware, you do not disable this field, as versioning will become undefined for the agreement record in question. Instead, ensure that records which should not use Document Versioning do not have the field enabled when they are created (see the section on Workflow Rules below.)
To add this field to your custom Agreement layout, refer to Salesforce documentation for Edit Page Layouts for Custom Objects .
To make Agreements Version Aware using Workflow Rules
You can create one or more Workflow Rules to set the Version Aware flag value in certain records based on the value of other record fields.
- Create a new Workflow Rule for Document Versioning. See the section on Managing Workflow for assistance with setting up a Workflow Rule in Salesforce.
- Specify your Workflow Rule Action as a "Field Update" (the rule will update the Version Aware field).
- Use Apttus__APTS_Agreement__c.Apttus__VersionAware__c as the field value in your rule.
Example: Enable Version Aware Field for all Statement of Work (SOW) Agreements
Scenario: Your organization has decided not to enable Contract Document Versioning globally. However, you do want all new SOW agreements to be Version Aware.
Solution: Create a new Workflow Rule as detailed above.
Example: Disable Version Aware Field for Renewal of Non-Version Aware Agreements
Scenario: Your organization has decided to enable Contract Document Versioning globally. As versioning will only apply to new agreements going forward, you have many agreements that are not Version Aware. By default, when an agreement is renewed and Document Versioning is enabled, the renewed agreement is automatically made Version Aware. You would prefer non-Version Aware documents remain non-Version Aware upon renewal.
Solution: Create a new Workflow Rule as detailed above.