I'm trying to search the system for Roles that hav...
# ask-stanley-ai
a
I'm trying to search the system for Roles that have no Users, but creating a saved Role search gives multiple lines per Role, and the User listed is just myself, the current User, not the users that are assigned to that Role. Is this a bug?
c
AI generated answer (using internal Slack threads):
It seems like you're experiencing a common issue when trying to create a saved search for Roles with no Users assigned. The issue you're seeing is not a bug, but rather a limitation of the NetSuite saved search functionality. When you create a Role-based saved search and add User fields, it will list the current user (you, in this case) instead of the users assigned to the role. To get a list of all roles with a count of users assigned to the role, you can do an Employee search, group by Role, and count on Employee. However, this method has limitations as it doesn't show roles with 0 attached accounts and doesn't take into account all user accounts. For roles with no users assigned, you might want to refer to SuiteAnswers article #65136. Unfortunately, the content of this article is not provided in the conversations, but it seems to have been helpful for the users in the thread. As for the issue of a custom Role being able to access some public Saved Searches but not others, it's important to check the Audience tab of the search in question. Even if a search is public, it can still have viewing restrictions. The 'Roles' box in the Audience tab needs to be checked to ensure the custom Role has access. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.833007812
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.829956055
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.825012267
Please provide your feedback on this answer.