Customizing Email Layout template
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2018 07:10 AM
Hi SN Community,
Would anyone happen to have any insight into customizing the sample System Policy > Email > Layouts templates (eg. "Demo Layout - Light") in the system so that we can display an email approval notification with horizontal separators lines between sections? This would look similar to ServiceNow's own "Incident Commented..." email notifications (see attached).
We're currently using a single System Policy > Email > Templates > request.itil.approve.role script to surface all of the details in the approval email. I've also found that using ${notification:body} within the email layout template will surface the template details, however, I'm not sure how to create the separator lines to differentiate between sections - does this need to be done on the email template itself?
Would anyone have a sample Email Layout template they can share for my reference?
Thanks!
Ravi

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2020 08:12 PM
JC should get all the credit here as he already answered it correctly. If you go into the HTML source code, you can just enter <hr/>.
Similarly, if you're editing an email template, the Message field is already using pure HTML so you can just enter <hr/> there as well.