The clause library in Contract Management Pro is where reusable contract wording is stored before it reaches a document. A clause groups one or more clause variations, and each variation carries a block of content together with the conditions that decide when it is used. Administrators build it by hand, from passages in a Word template, or both.
What a clause library holds
Three terms matter here. A clause is the named container, such as a confidentiality term. A clause variation is one block of content inside that container. The library is the store of clauses that you insert into contract templates.
Variations exist to cut down on near-identical templates. Take a non-disclosure agreement where only one section changes according to the region of the signing legal entity. Without variations, you would keep several templates that differ in a single paragraph. With condition-based variations, one contract template can generate documents for each region, because the matching variation is selected when the document is produced.
Clauses also appear outside templates. Fulfillers and reviewers can add clauses from the library to a contract revision while it is being written or negotiated, which is covered later in this guide. For amendments to a contract, see Contract Amendments in Contract Management Pro.
Setting up the clause record
Clauses are managed from the Clause Management list. Choose New to create one, or open an existing clause to change it. Saving the record shows related lists for clause variations and templates.
| Field | What it controls |
|---|---|
| Number | Generated automatically and unique |
| Name | A unique name for the clause |
| Contract Type | The type of contract the clause is associated with; only active contract types can be selected |
| Table | The table the clause is linked to; the Contract Request table is selected by default |
| Description | Information about the clause |
| Application | Set automatically from the application scope where the clause is created |
| Active | Makes the clause available for use |
Two details matter here. The Contract Request table is selected by default, which keeps the clause configuration on one table and makes clauses easier to reuse across product lines. Choosing a different table, such as a legal contract request table, limits the clause to templates attached to that table. Second, a clause cannot be set to inactive while it still has an active clause variation. Deactivate the variations first.
Writing variations and deciding which one applies
Create a variation from the clause record, using New in the Clause Variations related list. Saving the variation parses the uploaded Word document and lists the field content controls it contains in the Clause Variation Fields list. Each field has a document title, a tag, and a read-only option for values that should not be edited on the generated contract. Save the field, then save the variation.
The variation form controls when a variation is chosen:
| Setting | Effect |
|---|---|
| Order | When several clauses meet a condition, the one with the lower order value is chosen first |
| Applies when | Filter conditions on fields of the selected table and on record producer variables |
| Applies to | User criteria, such as employees in one location |
| Advanced script | Replaces Applies when with a script, for conditions on tables that are not linked directly to the template |
| Active | Makes the variation available for use |
| Language | Filled in with the default language |
If neither Applies when nor Applies to is set, the variation applies to the template regardless of the user or the table. A variation without conditions can therefore compete with conditional ones. Give specific variations a lower order value than the general fallback so the right wording is chosen first. The document uploaded for a variation must be in .docx format and contain valid content controls.
Building the library from a Word template
The Microsoft Word add-in for ServiceNow Contracts is how existing paragraphs are turned into clauses. The add-in must already be configured, and the contract template must be in Draft or Editing state. The person doing the mapping needs the contract configuration role and the canvas user role.
In the document, turn on formatting marks, select the passage together with its paragraph ending mark, and then decide what it becomes. There are three methods.
- Use an existing clause as it is. Select Use this clause. The imported clause is classified as No Change, so its wording is not altered.
- Create a new clause with no variations. Complete the Name and Description fields in the New clause form. The contract type is filled in from the template. The imported clause is classified as Existing Clause.
- Create a variation for an existing clause. Select Create Variation for the clause you want. The imported content becomes a variation under that clause.
A single clause cannot be mapped to more than one piece of content, so a passage that repeats elsewhere needs its own clause or variation. When mapping is complete, upload the Word document with its content controls. The clause details then sync to the ServiceNow instance and appear in the Imported Clauses list on the contract template.
Some clauses need pre-filled information that will be placed in the contract document. Add that as metadata with the add-in. Select the clause and its variation in the Clauses tab, place the cursor where the value belongs, choose Create metadata mapping, enter a unique field name, and create it. The field appears as a tile and syncs to the Field mapping list on the variation. Clicking the tag places the same metadata in other locations in the document. If the variation is mapped to several templates, its metadata must be mapped for each of them.
Completing the mapping and fixing errors
Finish the mapping from the Imported clauses list on the contract template by selecting Complete Clause Mapping. If the application scope is not Global, switch it first. Each imported clause needs a classification, and the classification decides what happens next.
| Classification | Mapping clause field | Result |
|---|---|---|
| No change | Select an active clause from the library | The existing clause and its variations are not updated |
| New clause | Leave it empty | A new clause and variation are created from the content |
| Existing clause | Select an active clause from the library | A new variation is added to that clause |
When mapping succeeds, the Clause Mappings list shows each mapped clause with its contract type. When it fails, an error appears, and the possible causes are these: no contract type was selected; not every clause has a classification; a clause marked New clause was mapped to a clause when it should have been left empty; or a clause marked Existing clause or No change has no clause mapped to it. Correct the template, select Update to save it, and run the mapping again.
Editing a variation after the template is published
Open the clause from Clause Management, open the variation from its related list, make the changes, and save. Saving parses the document again. If the variation belongs to a published template and the new document contains content controls that the template does not yet use, those fields are listed under Unmapped metadata. Map them to the template to complete the update. For contract obligations, see Obligation Management in Contract Management Pro.
Using the library in revisions and AI contract analysis
Fulfillers and reviewers can add clauses while they author or negotiate a revision. The library is available when the request is in Work in progress and the user is assigned to it, is a group manager, or is a collaborator. It is also available in Awaiting review for a reviewer who holds the internal review task. In the Word add-in, the Clause library tab lists the active clauses for the document’s contract type. Search by name, select the clause, select where it should go in the document, and choose Use this clause. Metadata fills in automatically when the clause already has a valid mapping. Otherwise a content control tag name is added, and the metadata must be updated by hand.
The same mappings support AI contract analysis. In the AI Admin Hub, on the Contract analysis tile for CM Pro, select Edit Configuration. In the guided setup, the Clause mappings page lets you edit the clause linked to a field group, deactivate a mapping so it is temporarily unavailable, reactivate it later, or delete it when the skill no longer needs it. The AI uses the active mappings to suggest non-standard or missing clauses in a contract document. Managing these mappings requires the sn_cm_gen_ai.ai_contract_config and sn_cm_contract_config roles. For the wider feature set, see Contract Management Pro: Records, Renewals and AI Features.
Frequently asked questions
What is the difference between a clause and a clause variation? A clause is the named entry in the library. A variation is one block of content under that clause, with optional conditions and an order value. A clause can hold several variations, and the template chooses among them.
When should I use a condition instead of a second template? Use a condition when only one section changes between documents, as in the regional NDA example earlier in this guide. Keep separate templates when the documents do not share their wording.
Why does Complete Clause Mapping show an error? The possible causes are a missing contract type, an imported clause with no classification, a New clause that was mapped to a library clause, or an Existing clause or No change row with no mapping. Check each row in the Imported clauses list against those causes, correct it, and run the mapping again.
Can I deactivate a clause that still has active variations? Not while it has an active variation. Deactivate the variations first, then deactivate the clause.
What happens if I deactivate an AI clause mapping? The mapping stops being used by the skill and is not deleted. You can reactivate it from the same page at any time.