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
RaavipatiRaavipati 

Question on roles

I Have BDR role which contains 4 team leaders Suppose W, X,Y,Z and SDR which contains 5 juniors 

i want to assign 5 junoirs to X 

how to do it 
please help me to sort out this 

TH
thanks&regards
Pratyusha.k




 
RD@SFRD@SF
Hi Pratyush,

Roles are used to share records. I dont think you would be able to achieve what you want using Roles.But you can create a lookup of users on record where you want to map the BDR user to SDR user and populate that lookup with those users.

Please read the following link (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_bulk_sharing_understanding.htm)for details

Hope it helps
RD