How to include a static attachment to a notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2024 03:06 AM
Hi ,
I have a requirement where i need to send an email including a static attachment as a pdf. how can we achieve this.
Regards,
Sanjana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2024 03:11 AM
Do you want to send attachments which are added on record? If yes
Use this option:
Or you want a new attachment with the email ?
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2024 03:17 AM - edited 01-22-2024 03:18 AM
This is giving me a link in the notification but i want it as a document attached to the email
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2024 03:40 AM
Could you please check the links provide as above or @Sandeep Rajput provided with screenshot.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2024 03:23 AM
@mynedisanjana We had the similar requirement where we were supposed to copy a static pdf on an outbound email associated with a specific notification.
1. As a first step, we attached the static file to the Notification (sysevent_email_action) record which is being used for sending the outbound email
2. In second step, we created a business rule on sys_email table as follows.
Here we only trigger this BR if the type changes to send ready and body contains sysparm_notification= <sys_id of the notification>
In the script, we are simply copying the attachment from the notification record to the email record.
Hope this helps.