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

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Employee Service Management

ft:clusterId :

    - emplsm

bundleId :

    - emplsm

workflow :

    - Employee


---

# Add customized variables in a document template

# Add customized variables in a document template {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Customize variables at a record producer level, and call out those variables in the
HTML document template that you are configuring.

## Before you begin

Role required: admin

## Procedure

1. Open a record producer and fill in the required fields.  
   Add the variables that you want to use in the Variables list.  
   Figure 1. Example: Variable list in a record producer
2. Open an HTML document template that has the same table selected as the record producer.  
   Call out the customized variables in the HTML template body by typing in the variable in this format, for example, $ {variables.start_date).  
   Note:  
   start_date refers to the exact Name of the variable in the Variables list in the record producer.  
   Figure 2. Example: Calling customized variables in an HTML document template

   1 refers to variables from the table selected in the HTML document
   template.

   2 refers to customized variables from the variable list in
   the record producer.

