Active/Non active User s

pramn
Kilo Sage

Hi Team , 

In the report i need show , Active and non active both Users , in a business application table we have 2 fields 

pramn_0-1769661658363.png

How do i filter for for both field active and non active users ?

Can you help me the conditions pls ?

I tried pulling data from sys_user table however i am not able to filter it for these 2 fields .

need your help .

thanks in advance .

4 REPLIES 4

Ankur Bawiskar
Tera Patron

@pramn 

OOTB there is query business rule on sys_user and it will only allow you to select Active users.

where are you stuck?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Can you please guide me ? 

@pramn 

you want to allow users to select inactive user there in reference field?

Note: I won't recommend selecting inactive users

if you still want then check this link for workaround

How to make inactive users available for selection in reference fields/variables 

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

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Dr Atul G- LNG
Tera Patron

Hi @pramn 

 

What is need of showing both type of users, in transaction record. It will not give a clear picture and your foundation data records will be massed up.

 

As per best practice use only active user .

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************