Attachment from inbound email is not added to Record
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2024 08:55 AM
Hi team,
Attachment from inbound email is not getting added to Record. In Attachment table we can see that both Table name and Table sys_id is empty. So that inbound email script is unable to find record .
Regards,
- Saranya
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2024 10:05 AM - edited 11-11-2024 10:26 AM
I'm not sure what all your inbound action is doing but the generic answer is to use the GlideSysAttachment.copy() method. It would look something like this if you are pulling it from the email record:
GlideSysAttachment.copy('sys_email', event.parm1, current.sys_class_name, current.sys_id);