Document blocks in Document Templates
Replace blocks of text in a document based on certain rules so that you do not have to create multiple template versions of the same document.
Key features include:
-
Create document blocks that you can use in multiple HTML templates. Each document template block can have multiple block contents. Each block content can be mapped to a condition. The first block content that matches the condition will be considered.
Assume that there is a clause in a verification letter that is intended for employees of a particular geography or of a particular type. In this case, you can write a condition based on parameters such as employee location or employee type. Then, associate the condition to a content that must appear conditionally in the document that is being generated.
-
Translate document templates and document block content by installing Localization Framework and language plugins that you require.
---
title: Document blocks in Document Templates
description: Replace blocks of text in a document based on certain rules so that you do not have to create multiple template versions of the same document.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/employee-service-management/hr-service-delivery/doc-block-temp.html
release: brazil
product: HR Service Delivery
classification: hr-service-delivery
topic_type: concept
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Document Templates of type HTML, Configuring Document Templates, Document Templates, HR Documents, HR Service Delivery, Employee Service Management]
---
# Document blocks in Document Templates
Replace blocks of text in a document based on certain rules so that you do not have to create multiple template versions of the same document.
Key features include:
- Create document blocks that you can use in multiple HTML templates. Each document template block can have multiple block contents. Each block content can be mapped to a condition. The first block content that matches the condition will be considered.
Assume that there is a clause in a verification letter that is intended for employees of a particular geography or of a particular type. In this case, you can write a condition based on parameters such as employee location or employee type. Then, associate the condition to a content that must appear conditionally in the document that is being generated.
- Translate document templates and document block content by installing Localization Framework and language plugins that you require.
| title | Document blocks in Document Templates |
| description | Replace blocks of text in a document based on certain rules so that you do not have to create multiple template versions of the same document. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/employee-service-management/hr-service-delivery/doc-block-temp.html |
| release | brazil |
| product | HR Service Delivery |
| classification | hr-service-delivery |
| topic_type | concept |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Document Templates of type HTMLConfiguring Document TemplatesDocument TemplatesHR DocumentsHR Service DeliveryEmployee Service Management |