Include attachment to Email notification on certain condition
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 05:01 PM - edited 02-08-2024 05:42 PM
Hey,
Anyone know the alternative way of Include Attachment checkbox in Email notification. I am trying to create an email notification on incident record and want to send that notification with attachment on incident record on certain state of Incident.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 05:49 PM
Hi @Bchaudhary What is the error you get? I think external users might not have access to read data in attachment, in that case update read acl on attachment table
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 05:51 PM
@Harish KM , Yes, you are right. Due to security and privacy purpose, I can't give them an access through read ACL

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 06:12 PM
Hi @Bchaudhary then modify ACL accordingly that should work.
Please accept my solution if my response was helpful.
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 06:34 PM
@Harish KM Isn't possible with scripting in mail script? As don't want to touch ACLs of sys_attachment table.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2024 06:38 PM
Hi @Bchaudhary you have 2 options
1. with script
2. Have 2 Notifications , one to send attachment and the other not to send attachment
Harish