not able to view the inactive users in sys_user table

ranjithkumark19
Tera Expert

Itil user are not able to view the inactive users in sys_user table also not able to view the caller's details if the caller is inactive. Please any one help to view the inactive users details while login using itil user.

1 ACCEPTED SOLUTION

Slava Savitsky
Giga Sage

By default, there is a "before query" business rule on Users [sys_user] table that is called "user query". It prevents anyone except admins from viewing (querying) inactive user records. If you deactivate that rule, your itil users should be able to see inactive users' details.


View solution in original post

8 REPLIES 8

Slava - You have helped me before and this just saved me lots of time. Thanks


Instead of deactivating that rule, Best way is to add a condition like gs.hasRole('desktop_user') or any specific role or a member of that group. 

If service now has given a Business rule, that means there is a particular purpose to it.

ranjithkumark19
Tera Expert

Hi all thanks for your reply... I got solution from the business rule "user query" from sys_user.



Thanks a lot again..


Feel free to mark the correct and helpful answers as you see fit, so others who stumble upon this thread will know which ones worked for you.