Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Report on Users with Managers where Manager account is disabled

Trish Mac
Giga Guru

Hello,

 

Because the sync has stopped working properly with ServiceNow User records and AD when updates are made to AD accounts, the Manager field is incorrect on many of our User accounts.  How can I build a report that shows User Accounts with a Manager with  an inactive / locked out User account?  We're on Zurich.

 

Thanks,

Trish

1 ACCEPTED SOLUTION

Dr Atul G- LNG
Tera Patron

Hi @Trish Mac 

 

Open user table in list view

 

and condition like below

 

or open this link

 

https://devxxxxxx.service-now.com/now/nav/ui/classic/params/target/sys_user_list.do%3Fsysparm_query%3Dmanager.active%253Dfalse%255EORmanager.locked_out%253Dtrue%26sysparm_first_row%3D1%26sysparm_view%3D

 

 

--> manager.active=false^ORmanager.locked_out=true

 

DrAtulGLNG_0-1786572101363.png

DrAtulGLNG_1-1786572118482.png

 

 

****************************************************************************************
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
******************************************************************************************

View solution in original post

4 REPLIES 4

Dr Atul G- LNG
Tera Patron

Hi @Trish Mac 

 

Open user table in list view

 

and condition like below

 

or open this link

 

https://devxxxxxx.service-now.com/now/nav/ui/classic/params/target/sys_user_list.do%3Fsysparm_query%3Dmanager.active%253Dfalse%255EORmanager.locked_out%253Dtrue%26sysparm_first_row%3D1%26sysparm_view%3D

 

 

--> manager.active=false^ORmanager.locked_out=true

 

DrAtulGLNG_0-1786572101363.png

DrAtulGLNG_1-1786572118482.png

 

 

****************************************************************************************
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
******************************************************************************************

Thank you, Dr. Atul G.  I didn't realize that dot-walking was available in the query.  Much to learn.  I got the exact result I needed with your advice.  Many thanks.

 

Trish

No worries mate, we all learning from each other 

****************************************************************************************
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
******************************************************************************************

Ankur Bawiskar
Tera Patron

@Trish Mac 

this is an easy requirement.

would like to know what did you configure and what's not working?

screenshots please

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