I have a role hierarchy in my org. The hierarchy is :
- a. Sales Director
- a1. Direct Sales
- a1.1 SME Sales Coordinator
- a2. Indirect Sales
- a1. Direct Sales
Also, i have a partner user who creates Account records in the partner community. By using sharing rules, i want the SME Sales Coordinator (role) to have view access to these Account records, if:
1. The Account's record type = 'Individual' or Account's record type = 'Corporate'
(AND)
2. The Account record was created by a partner user (group of partner users). Not a specific partner
(i don't want a partner's user specific id).
The sharing rules types, are record owner based or criteria based. I need a way to combine those two types. Because, i want to apply record owner sharing rules based on specific criteria and i cannot see something obvious from UI.
Do you have any ideas, how to approach it?
Thank you in advance