How to remove attachments in email without removing the record from attachements table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-02-2020 12:17 AM
Hi Team,
I want to remove attchment from email while sending,at it is in send-ready state without removing the record from sys attachments table.
Thanks,
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2020 03:28 AM
How to hide email attachments in email with ACL?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2020 03:44 AM
Hi Ganesh,
Can you explain your business use-case/requirement?
Please provide some more details for your question
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2020 03:54 AM
Hi Ankur,
I have to schedule a report of Incident SLAs about to breach in daily bases.
so i have created a scheduled report. in that report email instead of attachment i have to send a link in body regarding that document. the report document is stored in some custom table.
so, before sending the email i want to remove the attachment from email.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2020 04:02 AM
Hi,
you cannot script it directly as it would include the attachment when you use scheduled reports.
Any specific reason you don't want file but only want link?
because you will require workaround for this
1) create after update BR on sys_email table
2) Condition: state changes to send-ready AND subject is your Report subject
3) then in script delete the attachment from that email record
4) but including the link is difficult
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2020 04:21 AM