Find your content:

Search form

You are here

re parenting an email to another case

 
Share

Sometime I get emails from a customers in reply to a resolved case. They actually report a new problem but since they use reply, the email is being associated to the old case. Is there a way to create a new case from an existing email or at least to re-parent the email to a new case I will manually create?


Attribution to: Dedo

Possible Suggestion/Solution #1

Dedo, maybe I'm misunderstanding something, but if you want to manually reparent the email (i.e., Task record), would that be to...

  1. Open the task in Salesforce
  2. Click Edit
  3. Change the Related To field?

enter image description here


Attribution to: Marty C.

Possible Suggestion/Solution #2

Assuming that the email was added to the closed case because it came in on Email-to-Case with a thread ID somewhere in the subject or body resembling: ref:_ ... :ref, then you could do the following:

  1. Open the email and copy the contents into a text editor
  2. Change all ref:_ to foo:_ (or remove all the threadids entirely)
  3. Create a new email using the edited text and send to your Email-To-Case email address (the one used by your customers) - e.g. support@mycompany.com

SFDC will create a new Case; you can then go to that Case and change the Contact ID and Account reference to the true customer (not the sender at step 3)


Attribution to: cropredy

Possible Suggestion/Solution #3

To allow this to happen, EmailMessage.ParentId would need to be modifiable.

Since the DML framework does not allow this, you will not be able to write Apex code to make this happen.


Attribution to: Mark Hartnady
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/32134

My Block Status

My Block Content