Create Servicenow report with list of users who has itil role but not a member of any groupCreate Se

Uttam Sai
Tera Expert

Create Servicenow report with list of users who has itil role but not a member of any group . I am looking for filter conditions . Please confirm if this can be done without background script

4 REPLIES 4

Tanushree Maiti
Tera Patron

 

Hi @Uttam Sai 

 

1. 

Write a script include with your logic . Call that script include from sys_user_grmember table report.

Check this :

https://www.servicenow.com/community/itsm-forum/want-to-know-how-can-i-know-the-users-who-is-not-a-m...

 

 

Ankur Bawiskar
Tera Patron

@Uttam Sai 

not possible without scripted filter condition in report

check below link

Find users who has roles but not in any groups

Approach 

-> Create client callable classless script include and call it from Report filter condition

-> create Report -> sys_user

Condition

SysID [IS ONE OF] javascript: getMyUsers()

55.png

56.png

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏

@Uttam Sai 

Thank you for marking my response as helpful.

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏