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
madhumadhu 

manager role hierarchy

there is a  manager and under him there is an assitant manager and under him there is an employ. manager must share some records to employ but asistant manager must not see those records here role hierarchy is enabled. how to achieve this scenario.

 
PratikPratik (Salesforce Developers) 
Hi Madhu,

You should not design or set the role hierarchy on the basis of the designation or organization's role hierarchy. You shoild set the roles hierarchy for record level accessibilty. 

You can keep the OWD as private and remove assistent manager from the existing hierarchy and move him to another role. So Manager-> Employee ; so manager will be able see Employee's record.

Thanks,
Pratik
madhumadhu
Hi pratik Thanks for ur reply . Is there any other way To do this without removing the assistant manager role