In Html body I want to use related list

Vedavalli
Tera Contributor

Hi

If we're creating a notification we'll be having select variables section where there we'll be having fields. But I wanted to use my related list in my notification how can i use related list?

Vedavalli_0-1749177884914.png

Thanks in advance

6 REPLIES 6

J Siva
Tera Sage

Hi @Vedavalli 
You need to use email scripts to meet your requirements.
Please check out the dev article below to get more info on emial scripts.
Notification Email Scripts

 

Regards,
Siva

Vedavalli
Tera Contributor

Hi @J Siva 
In HRSD we're having document templates in that if i wanted to use how can I?

@Vedavalli You can use the mail script..Please check the below community post
Email script in email template

Ankur Bawiskar
Tera Patron
Tera Patron

@Vedavalli 

if you are talking about notifications then it can bring only fields from the table on which notification is configured.

To bring data from other related tables, you will have to use email script

where are you stuck?

If my response helped please mark it correct and close the thread so that it benefits future readers.

 

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader