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
Hema MunagalaHema Munagala 

owd and sharing settings

In an Account Object a field called ‘Sales Person ‘and it has lookup relation with user object. If user is selected as salesperson for a record, that user able to see those records, but OWD is private, record owner and admin will not share any records.
Steven NsubugaSteven Nsubuga
Using a trigger, with Apex Managed Sharing is what comes to my mind. Not sure if Process Builder can be used to achieve this. Look into it if you will.