• T Rey
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hi,

 

I have a requirement to change the parent of an email-to-case attachment to a custom object when the case is created.

 

The flow is as follows.

 

1. An email-to-case case with record type Master__c record is created

2. Check if it has an attachment.

3. If attachment is present, created a custom object, Attach_Secure__c, record is created.

4. Make Attach_Secure__c parent of the attachment

 

Any idea of how to implement this trigger?

 

Thanks for help