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
SathishKumarSathishKumar 

Batch job to Copy records from parent object to child object

Hi All,

I have a object called Interaction which has selflookup relationship and relation ship name is parent. Interaction also has child object participant. Now, assume one interaction has several child interactions. I want to copy participant records from parent to child interation.
Please help me with the algorithm or psuedo code to implement this requirement.

Thanks in advance