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
Kolade LawalKolade Lawal 

Can someone help me write a trigger for cascading updates of child records that are reparented as a result of a merge operation?

When two accounts have been merged, the child Contact record that's reparented isn't getting updated with the new Account because it's not triggered to do so.  Apparently this is one of the operations that doesn't invoke a trigger automatically (, so I'm having to write one for this particular scenario.  I'm not very experienced at writing Apex Triggers so can someone please assist me in what that code would be?

Thanks in advance!
Kolade LawalKolade Lawal
@Abhishek, do you have any experience with this?