Multiple reports in Single email?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2023 05:36 AM - edited 01-24-2023 02:14 AM
I have Created 3 reports.(Report A,ReportB,reportC).
and i have Written 3 different email script ( script a,b,c)to show the Result in the Table method .
How can i send these 3 different reports in the single email?
can you suggest me with your ideas.?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2023 05:43 AM
You can call multiple Notification Email Script in the body of your notification record by using
${mail_script:script name}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2023 05:47 AM
${mail_script:Script1}
${mail_script:Script2}
${mail_script:Script3}
if i add like this multiple script it is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2023 05:51 AM
Hi @instance ,
1) Event registry - Create a new event in event registry.
2) Email scripts - You have to take all reports in table format in email scripts. (scripts a, b, c).
3) Notification - Create a new notification and and call the email scripts in it for reports in table format.
4) Scheduled job scripts - Create a scheduled job scripts that will fired the event using gs.eventQueue() method in scheduled job scripts.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2023 06:20 AM
why not do this
1) single email will have only 1 email script and in that email script you write 3 logics to print data from those 3 individual reports
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader