function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
enforcer118enforcer118 

Move attachments from outbound EmailMessage to case?

Hi I am trying to move attachments from any outbound email message back to the parent, in this case it's Cases. I created a trigger on Attachment and check the incoming flag and copy the attachments and then delete but it never does anything. Has anyone come across this problem?
Peter_sfdcPeter_sfdc
Attachments are not very friendly to moving around. 

What do you mean by "copy"? Can you give code examples to help us understand what you have tried?