+ Start a Discussion
AntonPavlovAntonPavlov 

How transfer all records associated with the EmailMessage child case to parent case?

ShirishaShirisha (Salesforce Developers) 
Hi Anton,

Greetings!

You need to create the Apex trigger to update the Parent Id of the EmailMessage to the parentCase as suggested in the below:

https://salesforce.stackexchange.com/questions/32134/re-parenting-an-email-to-another-case

https://developer.salesforce.com/forums/?id=9060G0000005YRMQA2

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri