How to send an record in excel format along with email notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 01:45 AM
Hi,
I have a requirement in which i want to attach record in excel format in the email notification.
please help me in implementing this.
Thanks & Regards,
Kalyani
- Labels:
-
Notifications

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 01:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 02:03 AM
Hi Chetan,
in the given link, they are able to send attachment that is attached in the record, but my requirement is, the record itself in export to excel format need to attach in email notification, is that possible, if yes please provide solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 03:05 AM
Hi Kalyani.
You can create a report on that table and schedule that report . You can select the email id to whom it should send that while scheduling the report. Please check below link to understand how to schedule the report.
DOC : Automate report distribution
Blog : Attaching an Excel file of a report to an email notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 02:19 AM
Hi,
is that excel stored on the record from where notification is triggering?
if not then you can do this
1) attach the excel of record based on some update etc to current record before the notification is sent
2) trigger notification by eventQueue() method once file is inserted into sys_attachment table
3) your event, notification would be on your table
Using CSV would be easier instead of Excel
Generate CSV file through script
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader