1

My Org has 2 brands "A" and "B". On each contact record there is field called Brand. If this is populated with "A", record type is changed to "RT-A" and if Brand has value "B", record type is changed to "RT-B"

There are 2 profiles "case rep-A" and "case rep-B" who are assigned 'RT-A' and 'RT-B' recordtypes respectively from Sharing settings.

  • OWD for contact to Private.
  • Defined 2 criteria based sharing rules : 1) If brand on any record is A, share the record with Role and Subordinates of A 2) If brand on any record is B, share the record with Role and Subordinates of B

Now, created a contact with Brand = A as system admin and logged in as profile A but unable to view this contact.

Is there anything I am misssing.

Thanks

7
  • What role does the profile user has ?Note that sharing is defined based on roles and not on the profile Dec 5, 2015 at 18:06
  • Forgot to mention.. Logged in as profile a which is. Under the main role for brand a.
    – sf_user
    Dec 5, 2015 at 18:14
  • Does profile has atleast read access to contact? Dec 5, 2015 at 18:16
  • I just checked and yes the profiles has only read access to contacts
    – sf_user
    Dec 5, 2015 at 18:21
  • Can you share screenshots of your sharing rule and also make sure that record has proper record type changed by your process that assigns recordtype? Dec 5, 2015 at 18:23

1 Answer 1

2

There is a way which can help in troubleshooting and narrowing the problem

Query your contactShare table with newly created contactId and the userId for the user you are troubleshooting and if you dont get any records this means rule did not run.

[ Select ContactAccessLevel,
         ContactId,
         RowC‌​ause,
        UserOrGroupId 
       FROM ContactShare 
       WHERE ContactId='id' AND UserOrGroupId='userId'];

If you feel you are not missing its worth checking with SFDC support to see if they help you troubleshooting further

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .