Content body in the email template is not showing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 04:21 AM
Hi Team,
i have created the one notification and attached/added a email template which is having some fields and, in the notification, having some message in the body also (what it will contains)
only message in the body (what it will contains) is coming , but not the template inside content why?
How to achieve it.
Regards,
Abhilasha G T
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 04:40 AM - edited 07-10-2025 04:41 AM
Hi Everyone,
please find the screenshots below ,
Regards,
Abhilasha G T
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 05:49 AM
so you are calling email script from that email template or email body?
share the complete details
Notification screenshot, email script screenshots, email template screenshots.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 08:29 AM
Hi Ankur,
Email Template Not Rendering When Notification Body Is Filled
I'm working with email notifications in ServiceNow and have run into a behavior I can't find documented anywhere.
I have a notification on the sysapproval_approver table that uses a shared email template (also based on the same table). However, when I include content in the "What it will contain" (Message HTML) field of the notification, the attached email template does not render at all — even if I try to include ${email.template} or ${mail_script:...} in the body.
If I clear the message body, the template renders correctly. But I need to include a custom message in the notification body and still use the shared template (which is used in multiple other notifications).
I’ve tried:
- Using ${email.template} in the body — doesn’t work.
- Calling a mail script that renders the template — doesn’t work.
- Confirmed that the template and notification are on the same table.
- Confirmed that the mail script works when used directly in a template.
Is this a known limitation? Has anyone found a workaround that allows combining a custom message in the notification body and rendering a shared template?
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 08:51 AM
if you are using email template field then content & subject will be rendered using that and it won't pick Message HTML content.
If you want to have dynamic content then use email script either from template or from message HTML
This is also confirmed earlier by ServiceNow employee
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2025 08:27 PM
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader