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

How to Update ParentId on EmailMessage ?


If an incoming mails subject matches with existing subject on Case, then link the new incoming mail to the existing case.

For this, we used Process builder which will pass the incomng mails details to the flow. This flow will query on case using the subject and when found update  the ParentId on EmailMessage.

But we are not able to update ParentId. Anyother way of  updating this field ?