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
Sami ShakithSami Shakith 

update child records of parent where both are from same object

Hi all,

Consider i have one object named as obj1 and have self-lookup within that. So record of obj1 can have multiple child records of the obj1(same object). Now i want to update child records when parent getting updated. How can i face this scenario? Please suggest any ideas.
Shaijan ThomasShaijan Thomas
Hi Sami,

You have to write code in trigger. when you update obj 1 search for all the childs and update.

Thanks
Shaijan 
Sami ShakithSami Shakith
Hi Shaijan,

Thanks for the response. We can not do insert/update values of other records of same object using trigger. So it will not work.