How to exclude specific Case attachments from email notifications
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
38m ago
Hi Community Members,
What is the supported/recommended ServiceNow approach to send only selected Case attachments in an email notification based on a custom True/False field on the sys_attachment table?
For example:
u_not_include_in_the_email = false → Include the attachment in the email
u_not_include_in_the_email = true → Do not include the attachment in the email
I am using a Case email notification and want to keep the excluded attachments on the Case for record purposes.
Could anyone please suggest the recommended approach or API for this requirement?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
27m ago
that checkbox will include ALL OR Nothing
2 Approaches
1) don't include attachments directly, instead use email script and include links to file for what you want
OR
2) see this custom approach
Adding attachments to Email - ServiceNow Community
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
