We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Reference Qualifier Not Returning Inactive Users in Catalog Variable

tilekarnilesh
Tera Guru

Hi Community,

I’m facing an issue where a catalog variable (Reference → sys_user) is supposed to show inactive users only, but even with an reference qualifier.

There is an ACL on sys_user.locked_out set to snc_internal, and the locked_out field becomes true after the user profile is set to Active = false. 

How can this issue be fixed, or is there any way to bypass it?

tilekarnilesh_0-1768317170128.png

tilekarnilesh_1-1768317416359.png

 

Thanks in advance

1 ACCEPTED SOLUTION

jonsan09
Giga Sage

You might have to take a look at the 'user query' business rule on 'sys_user' this BR prevents inactive accounts appearing for non-admin users. 

Screenshot 2026-01-13 082651.pngScreenshot 2026-01-13 082643.png

View solution in original post

6 REPLIES 6

Sandeep Rajput
Tera Patron

@tilekarnilesh Why are you checking the locked_out= False in this case. Simply apply Active = False condition in the reference qualifier to get the inactive users.

@Sandeep Rajput Because I already checked with this filter and it’s not working.

jonsan09
Giga Sage

You might have to take a look at the 'user query' business rule on 'sys_user' this BR prevents inactive accounts appearing for non-admin users. 

Screenshot 2026-01-13 082651.pngScreenshot 2026-01-13 082643.png

@jonsan09  Why do we need to modify this Business Rule? Are you suggesting we deactivate it to allow inactive users to appear?