Getting error Document Template
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2023 05:30 AM - edited 10-18-2023 06:04 AM
Hi All,
When some users are going to create HTML Document template, they are facing issue & getting below error. However, they have sn_hr.admin role & we have checked the message comming from backend OOB BR & script include.
BR: Validate template variables
SI: HtmlTemplateUtils, HtmlTemplateUtilsSNC
Below screenshot as reference:
Please help me on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2023 04:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2023 04:45 AM
Can you help me on it ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2023 04:52 AM
@abirakundu23 can you confirm if your users have sn_hr_core.admin role? or they have a custom hr admin role which is different from the OOTB sn_hr_core.admin role.
Ideally a user with sn_hr_core.admin should not have issues creating the template.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2023 05:10 AM
Hi @Sandeep Rajput ,
I gave sn_hr_core.admin role to the grp of users. It's no problem for me same role but they are facing issue, I replicate same thing & checked in my PDI, there it's working fine but problem in business instance. Any suggestion further for troubleshooting??

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2023 05:14 AM - edited 10-18-2023 05:15 AM
@abirakundu23 impersonate with one of the users who is seeing this error, enable the ACL debugger and check if the user is able to access sn_hr_core_case table and subject person field there. If they can't read the cases and see subject person field then you may zero down the issue to ACL.
As a last resort, raise a case with ServiceNow support and ask the support team to investigate the issue, as a user with sn_hr_core.admin rule should ideally be able to create template.