Dsiplay records to respective roles.

Hello All, I have 3 roles, Sales Person, BU Head and Admin. Now there are many sales persons who are assigned to their BU’s. I want that their BU should also see the records of their sales person. So when I login with pratap then he should see the records of shreya and keval only. How can I achieve that? What filter should I apply to see records? Please Help Thanks in advance.
1 answers

Hi Dev

Try using an attribute which stores the value of BU head.

Or else try retrieving data using Xpath in which the records in which the logged in person is a BU head only sees the record of those people whose BU head is the logged in person.