How can I call for multiple records from a table to be present in the body of an Email template.

KakarlaR
ServiceNow Employee
ServiceNow Employee

I am developing a newsletter automation application. I have multiple Records/News Items as part of the specific edition of the news letter. These news Items are present in a table and I need to bring all of them into a single template where I wish to send the news letter to my internal audience using email. can you sugeest a way to call multiple records into the template and i need to be able to format the text for this.

1 REPLY 1

Sebastian L
Mega Sage

You can use Email Scripts for such a requirement. And you might want to create an event to trigger the notification, since you have the news items in a table. 

 

The email scripts is well documented here: https://www.servicenow.com/docs/bundle/xanadu-platform-administration/page/script/server-scripting/c... 

 

And you can style it as well by adding the tags needed. I would recommend to have the main styling in the template, and then you can style the exact format of the news articles in the email script. 


Best regards,
Sebastian Laursen