Get list of users who are in a User Criteria?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2020 08:40 AM
I need a good way to generate a list of users who fall into a particular user criteria. I know you can see the reverse of this, like see the different user criteria a user, or group, or location belongs to. Can anyone think of a good way to do this?
- 3,397 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2022 04:07 AM
Great snippet! Cheers

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2022 07:51 AM
For any user criteria which is using groups, departments, scripts, or anything other than the user field, it seems there isn't a quick or easy way to collect this information. There's another post that includes a script to calculate this information, but it runs very slowly (takes about 1 minute to check criteria for 100 users) and mentions that optimization isn't likely.
https://community.servicenow.com/community?id=community_question&sys_id=3ddabb08db14c09023f4a345ca961993