---
sourceDocument: Xanadu Employee Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/employee-service-management

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Employee Service Management

ft:clusterId :

    - emplsm

bundleId :

    - emplsm

workflow :

    - Employee


---

# Configure non-task tables for contract templates

# Configure non-task tables for contract templates {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

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.

## Before you begin

Role required: admin

## Procedure

1. Navigate to AllSystem Extension PointsScripted Extension Points.
2. In the API Name field, enter <kbd class="ph userinput">sn_cm_core.DocumentTemplateNonTaskTableConfiguration</kbd>.
3. Select the record.
4. In the Related Links section, select Create implementation.
5. On the Script Include form, fill in the fields.  
   For a description of the field values, see [Scripted Extension Point form fields](https://servicenow-prod.fluidtopics.net/9AwTj~Zjw_9~9Z_zczo7jA "List of fields in the Scripted Extension Point.").
6. In the Script field, enter the name of non-task tables that you want to configure for contract templates.  
   Use a comma (,) to separate the non-task table names in the script.  
   The following example shows a script in which two non-task tables are being added.

             var DocumentTemplateNonTaskTableConfiguration = Class.create();
       DocumentTemplateNonTaskTableConfiguration.prototype = {
           initialize: function() {},

           /** 
            * Description: return the list of non-task tables that needs to
            * be added in the table choices in the document template
            * @return {Array} list of tables
            */
           getNonTaskTables: function() {
       		return ['sn_spend_psd_procurement_request_line','sn_quote_mgmt_core_quote']; 
           },

           type: 'DocumentTemplateNonTaskTableConfiguration'
       };

7. Select Update.

## Result

The non-task tables are available for selection in the table drop-down list in the Contract templates view of the Word Templates page of the Contract Administration application.

For more information, see [Create a contract template](https://servicenow-prod.fluidtopics.net/16AqAKzASVn0798IebtJ4Q "Create a contract template that can be used to generate a standard contract with predefined content when an employee submits a contract request.").

*[\>]: and then


