How can I call for multiple records from a table to be present in the body of an Email template.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2025 01:29 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2025 02:10 AM
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