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

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Employee Service Management

ft:clusterId :

    - emplsm

bundleId :

    - emplsm

workflow :

    - Employee


---

# Edit an HTML document

# Edit an HTML document {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
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.

## Before you begin

Role required: sn_hr_core.case_writer  
Note:  
This feature is available only when the document is generated from a template in the Document Template plugin.

## Procedure

1. Navigate to AllHR Case ManagementAgent Workspace for HR Case Management.
2. Select Lists.
3. Open an HR case that is assigned to you.
4. Select Preview Document.
5. In the Preview Document window:  
   1. Select Edit. Except for signature tokens, all other variables, scripts and blocks are rendered with their values.
   2. Add text, any valid tokens, or signature tokens.  
      Note:  
      Invalid tokens will be removed while saving.
   3. Select Save.
   {#agent-edit-document-ws__ol_shb_bxs_1xb}  
   The document is saved and sent as an attachment in document tasks that are created for participants.
{#agent-edit-document-ws__steps_v11_npt_1xb}

*[\>]: and then


