Customizing Email Layout template

ravi_otpp
Tera Expert

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

5 REPLIES 5

Ryan_Gillespie
Kilo Guru

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.