---
sourceDocument: Australia Employee Service Management
sourceDocumentLink: https://www.servicenow.com/docs/r/employee-service-management

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Employee Service Management

ft:clusterId :

    - emplsm

bundleId :

    - emplsm

workflow :

    - Employee


---

# Group contract documents in a contract request

# Group contract documents by contract type in a contract request {#ariaid-title1}

* Release version: Australia
* 
* Updated March 12, 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

As an administrator, group the contract documents by contract type in a contract request.

## Before you begin

Role required: admin

## About this task

Note:  
In Legal Counsel Center and Contract Workspace, the contract documents are grouped based on the contract type, by default.  
Customize the Standard Record Page (SRP) to display contract documents grouped by contract type in the Contract document tab through UI Builder, a web user interface builder. For more information, see [UI Builder](https://www.servicenow.com/docs/access?context=ui-builder-overview&version=australia&pubname=australia-application-development&ft:locale=en-US).Figure 1. Contract document grouping

## Procedure

1. Navigate to Now Experience FrameworkUI Builder.
2. Search and select your workspace.
3. Navigate to RecordSRP record.
4. In the Page content list, under BodyResizable panesleftMain TabRelated List, select list related.  
   Figure 2. UI builder related list configuration
5. In the Configure pane, select Group by field.  
   Figure 3. Configure pane
6. Enter the following code in the Group by field:  

       function evaluateProperty({api, helpers}) {
         var isContractRequestForm = api.item.value.parentTable =="sn_cm_core_contract_request";
         var isContractRevisionTab = api.item.value.table == "sn_cm_core_document_revision";
         if( isContractRequestForm && isContractRevisionTab){
           return 'document';
         }
       return '';
       }

   Note:  
   If the field is not editable, select the scope applicable to your workspace in the Select an application drop-down list at the top of the page.
7. Select Apply.

## Result

The contract documents will be grouped by contract type in the Contract document tab while viewing a contract request.
**Related concepts**   

* [Configuring the Playbook tab on contract repository records](https://www.servicenow.com/docs/3gQgqBNuzgdw6od7_8avbA "Configure the visibility of the Playbook tab on contract repository records so contract managers can review and act on AI‑extracted metadata and obligations.")  
**Related tasks**   

* [Configure non-task tables for contract templates](https://www.servicenow.com/docs/~gHcoA2uDDyFCNJha9by0w "Add non-task tables in the script of an extension point implementation so you can select them while creating contract templates. A non-task table does not extend task tables, and stores records, reference data, or configuration information used across the platform.")
* [Add a workspace action button for initiating a contract request](https://www.servicenow.com/docs/ehYlTQeiMIDmUnHFv5e89A "Define an action button in your workspace and map it to the built-in action that initiates a contract request.")
* [Add Contract requests tab to the contract request record](https://www.servicenow.com/docs/g8ZgYwi7OvyQKH2VDH8d1Q "As an administrator, add the ability to access contract request details to your form by adding the Contract requests tab.")
* [Add amendment tabs to contract repository record](https://www.servicenow.com/docs/cmwr65GDOKmXo~EzMjBgEg "To view the details of the contract amendment, add the amendment related tabs to the contract repository record.")
* [Add Contract documents tab to the contract repository record](https://www.servicenow.com/docs/~4~xCfJOijDgdWj~f8MDUQ "Enable display of contract documents in a contract repository record by adding the Contract documents tab to it.")
* [Copy fields from parent request to contract request](https://www.servicenow.com/docs/nClxrmn~aWmnF3UrTKHasA "Configure the ContractManagementExt extension point to automatically copy required fields from the parent record to the contract request when it is initiated.")
* [Add access to obligation management from contract repository records](https://www.servicenow.com/docs/pYvYDQcT5ixBMBkzFRq2Yw "As an administrator, add the Obligations tab in contract repository records to manage contract obligations.")
* [Configure the contract request form header for your workspace](https://www.servicenow.com/docs/_aTM6GOCBD7TdDwV2zUIfA "As an administrator, configure the header of the contract request form for your workspace.")
* [Assign a role for configuring template mappings](https://www.servicenow.com/docs/poirZioo67uApAhpzeKHPQ "Enable a contract user to configure information placed in the contract document by assigning a contract configurator role.")
* [Enable contract request fields in condition builders](https://www.servicenow.com/docs/xLBJ8z3_exa8_CRKNJOGUA "As an administrator, provide access to contract request fields so they can be selected in condition builders.")

*[\>]: and then


