Does anyone know of an easy way to determine where a fieldname may be used across the platform?

susiegarfoot
Tera Contributor

We are reviewing our custom fields in the users table and want to remove what is not used.  Does anyone have a quick way to check across the platform for where a field / fieldname is referenced?

 

We have done a search within Studio but it doesn't look at user criteria, reports. I want to do something that is all inclusive and repeatable.

 

We want to check ui and client scripts, reports, portal, filters, business rules and then some. We want to be proactive and address before removing.

 

Thanks in advance for any ideas.

Susie

4 REPLIES 4

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @susiegarfoot 

There is no direct way to determine where the field has been used. Sorry.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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/atul_grover_lng [ Connect for 1-1 Session]

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

Ankur Bawiskar
Tera Patron
Tera Patron

@susiegarfoot 

check these links

Code search tool 

Expand Code Search tables 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Jeff Currier
ServiceNow Employee
ServiceNow Employee

Interesting question.  Not sure there is any easy way to be sure it isn't used someplace.  However, I think I would start with, is there any data in that field.  If it is empty, then that is a strong indication of no use.  If there is data, you could look at update dates and audit records to see if that field was updated recently (and by whom).  If it is getting updated, you will need to find the source as that will fail if you remove the field.  And if it is an API that will affect other items you may care about.

And you could look at the views associated with the users table to see which include that field.  Finding ACL, scripts, business rules, etc that use that field will be more difficult but knowing you use use that data may help find them.

Thank you for your suggestions, Jeff.