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
ram dram d 

How To Auto Follow parent Records by Child Object Records

Hi I have one requirement there are two objects like Account and Account coverage so here Account coverage is Child of Account I need to Auto follow Account Coverage records to the Account records by the created users please help me in this i am New to chatter related Thanks In Advance
KRayKRay
You have two ways of doing this....
1. ) Create a trigger that creates the EntitySubscription relationship (aka follow) between the creator and the account coverage record.
 2.) Use process builder to set the criteria, then kick off an @invocableMethod to create the EntitySubscription as mentioned above.