- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 12:43 AM
Hi All,
When a user replies to an email sent from the SC Task and the user is adding attachment on their response the attachment is not getting added to SC Task but I could see the response email body visible to me in the activity stream of the SC Task. How could I solve the issue such that attachment is also added to the SC Task record.
Can someone pls help on this.. Thanks in Advance.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 01:37 AM
Hi @Ashwin Perumal1,
When you go to sys_email list, you can find the message which was received.
In the Email log related list, you can find how it was processed.
You could use a script like below to get the emails attached:
var sysAttach = new GlideSysAttachment();
var emailSysId = sys_email.getUniqueValue();
if (emailSysId) {
var sysEmailAttachments = sysAttach.getAttachments("sys_email", emailSysId);
while (sysEmailAttachments.next()) {
sysEmailAttachments.setValue("table_name", current.getTableName());
sysEmailAttachments.setValue("table_sys_id", current.getUniqueValue());
sysEmailAttachments.update();
}
}
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 07:07 AM
I know it has been a while but did you ever figure this out? I am having the same issue.