---
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


---

# HR document generation

# HR document generation {#ariaid-title1}

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

Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of HR document generation

HR document generation in HR Service Delivery (Release Yokohama) enables automated and manual creation, preview, signing, and distribution of HR-related documents.
This functionality supports workflows that involve multiple signatures, document previews, and saving options before sending documents to employees or other subject persons.
Show full answer Show less  

## Key Features

* **Automatic Document Generation:** Documents such as Tuition Reimbursement Requests can be automatically generated and assigned to the employee for signature when an HR case state changes to Work in Progress or Ready. This is enabled by configuring the "Automatically Create Draft Document" option on the HR service.
* **Multiple Signatures Collection:** Documents like offer letters that require multiple signatures are managed so that the document is generated only after all required signatures are collected.
* **Preview, Sign, or Save Workflow:** HR agents can preview, sign, or save certain documents (for example, Employment Verification Letters) before sending them to the subject person. This ensures accuracy and appropriate authorization before distribution.
* **Template Selection and Email Distribution:** For documents that do not require signatures, HR agents select templates, preview the document, generate it, and send it via email to the employee directly from the HR case.
* **Task Template Configuration:** The availability of documents to subject persons can be controlled by modifying the State field on the HR task template, accessible via the HR Case form. This allows customizing when and how documents are accessible during the workflow.
* **Document Error Handling and Editing:** If incorrect information appears in a document, customers should verify the source tables, HR case data, and document templates for errors in field mapping or variable usage. The Preview Document feature supports rendering and viewing of variables, scripts, and blocks in edit mode to facilitate troubleshooting and editing.

## Practical Benefits for ServiceNow Customers

* Streamlines HR document workflows by automating generation and signature collection processes, reducing manual effort and errors.
* Provides flexibility to handle documents requiring multiple signatures or manual HR review and signing, ensuring compliance and accuracy.
* Enables direct email communication with employees for document delivery, improving communication efficiency.
* Offers customization options through task templates to control document availability and workflow states tailored to organizational needs.
* Supports troubleshooting and editing of document templates and generated documents to maintain data accuracy and presentation quality.  
There are multiple ways to generate documents in HR Service Delivery.{#DocumentGeneration__hr_doc_temp_ss}  
* Automatically
* Multiple signatures are collected.
* Preview, Sign, or Save
{#DocumentGeneration__ul_p32_rcz_bz}

## Automatically {#DocumentGeneration__section_lsf_yrt_lz}

The document is made available for the subject person to
sign.
Only after the signature is added, the document will be generated automatically. Following
are some examples:

* A document such as Tuition Reimbursement Request must be sent to the employee for signature. The Request Tuition Reimbursement service has a work flow that triggers a task for the subject person (employee) of the case. An administrator enables theAutomatically Create Draft Document case option on the HR service and sets
  up the HR service. When a case is created with that HR service and its state is changed
  to Work in Progress or Ready, a task gets automatically generated for the employee with
  the document available for signing.

* A document such as Employee Verification Letter must be sent to the employee that does not require any signature. An administrator selects the template on the HR service. An
  HR case is created with that HR service. The HR agent previews the document using the
  Preview Document option, generates the document, and sends an
  email to the employee using the Send email option on the
  case.

{#DocumentGeneration__ul_cpd_gyy_1mb}

## Multiple signatures are collected {#DocumentGeneration__section_knn_ttq_rz}

Documents like offer letters can require multiple signatures. When all signatures are collected, the document is automatically generated.  
Note:  
For more information on setting this feature up, please see [Advanced form
configuration](https://www.servicenow.com/docs/access?context=advanced-form-administration&version=yokohama&pubname=yokohama-platform-administration&ft:locale=en-US) and [Advanced Forms Management in HR Service
Delivery](https://community.servicenow.com/community?id=community_article&sys_id=a1676d67dba71410b1b102d5ca961941).

## Preview, Sign, or Save {#DocumentGeneration__section_gjw_lst_lz}

Some documents require an HR agent to review, sign, or save it prior to sending it to a subject person for an HR case. An example is when a subject person requests an employment verification letter. This document requires an HR agent to review it for accuracy, sign it, and send it to the requested email address.

* Open a case requiring a document to be sent to the subject person.
* Ensure that the state is Work in Progress.
* The Form Header shows:
* Click Preview Document to view the document.
* Click Sign Document for documents that require an HR signature.  
  Note:  
  By default, the document is available for the subject person to view once you preview it. Change this behavior by changing the State field on the HR task template. You can access the task template from the HR Case form by selecting the HR serviceService ActivitiesChild task template.
{#DocumentGeneration__ul_oz1_d5t_lz}

## Change values {#DocumentGeneration__section_wrx_zpq_rz}

When there are errors in the document:

* Check the table the incorrect information is pulled from.
* Check the HR case to ensure correct case information.
* Check the document template for errors within the body of the document, incorrect field mapping, or variable information.
{#DocumentGeneration__ul_sw1_kqq_rz}
* **[Edit a generated document](https://www.servicenow.com/docs/2F3yZYUKMmcAykNJDnUe2A)**   
  Support rendering values of variables, scripts, and blocks in edit mode in Preview Document. View the content of variables, scripts, or blocks rather than only viewing the variable or block names.

*[\>]: and then


