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

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia Employee Service Management

ft:clusterId :

    - emplsm

bundleId :

    - emplsm

workflow :

    - Employee


---

# Edit an HTML document

# Edit an HTML document {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

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.

## Antes de Iniciar

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

## Procedimento

1. Navigate to AllHR Case ManagementAgent Workspace for HR Case Management.
2. Click Lists.
3. Open an HR case that is assigned to you.
4. Click Preview Document.
5. In the Preview Document window:  
   1. Click 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.  
      Nota:  
      Invalid tokens will be removed while saving.
   3. Click 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}

