You need to sign in to do that
Don't have an account?

Application not working correctly due to Role not being defined on a specific user
Hello,
We have a customer service application where customer reps start from
a customer search page and help customers with various needs. SOQL queries are
executed to retrieve the data during a search.
I was logged in as a rep doing a search and kept getting "No Results Found".
I had been logged in as other reps and performed the exact same search and
had gotten results from the search just fine.
Long story short. I noticed on the troubled user that they did not have a user
role defined. After setting the role, the search worked fine.
Can anyone tell me why a lack of a user role would affect the application
like this ? Let me know if need more specific information.
Thanks, Chris
We have a customer service application where customer reps start from
a customer search page and help customers with various needs. SOQL queries are
executed to retrieve the data during a search.
I was logged in as a rep doing a search and kept getting "No Results Found".
I had been logged in as other reps and performed the exact same search and
had gotten results from the search just fine.
Long story short. I noticed on the troubled user that they did not have a user
role defined. After setting the role, the search worked fine.
Can anyone tell me why a lack of a user role would affect the application
like this ? Let me know if need more specific information.
Thanks, Chris
As per documentation if particular object has enable "Grant Access Using Hierarchies" then record will be displayed based on role heirachy.
This is the reason you need to assign role to user.
All Answers
As per documentation if particular object has enable "Grant Access Using Hierarchies" then record will be displayed based on role heirachy.
This is the reason you need to assign role to user.