How to find what actions (UI Policies, BR's or Client scripts) running on specific field rather than Table ?

Balakrishna_ABK
Tera Guru

How to find what actions (UI Policies, BR's or Client scripts) running on specific field (on incident form) instead of checking configure all (table level).

1 ACCEPTED SOLUTION

johnfeist
Mega Sage
Mega Sage

Hi Balu,

I can suggest two things:

First turn on watch for that field and do a Reload Form.  That will show you what UI Policies and Client Scripts are being invoked.

The other is download and install Code Search from the ServiceNow store.  That will let you specify a string (e.g. field name) and it will search all the code in your instance for that string.  It runs very quickly.

The one thing that neither tool will search well is if you are setting values via the Actions tab in a Business Rule.

Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster

Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster

View solution in original post

4 REPLIES 4

Sagar Pagar
Tera Patron

Try to enabled the JavaScript Log and Field Watcher on your field and check the logs.

find_real_file.png

 

find_real_file.png

 

Thanks!
Sagar Pagar

The world works with ServiceNow

Hi Sagar, thanks for your quick reply, but I am unable to watch fields in new tab. Its working only on Home tab.

Musab Rasheed
Tera Sage
Tera Sage

Hello,

Field watcher might help, go through below link to explore more.

https://docs.servicenow.com/en-US/bundle/sandiego-application-development/page/script/debugging/concept/c_FieldWatcher.html

Mark my answer as correct if that helps.

Regards

Please hit like and mark my response as correct if that helps
Regards,
Musab

johnfeist
Mega Sage
Mega Sage

Hi Balu,

I can suggest two things:

First turn on watch for that field and do a Reload Form.  That will show you what UI Policies and Client Scripts are being invoked.

The other is download and install Code Search from the ServiceNow store.  That will let you specify a string (e.g. field name) and it will search all the code in your instance for that string.  It runs very quickly.

The one thing that neither tool will search well is if you are setting values via the Actions tab in a Business Rule.

Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster

Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster