Is there a way to explore how much impact there is when changing the definition of a field?

senon
Tera Sage

Hello, experts!

■Challenges faced
I need to evaluate how much of an impact I will make when making changes to ServiceNow.

 

■For example
When changing a field definition, I would like to investigate as much as possible which modules are affected. I'm looking for a way to find out which notifications, reports, and business rules reference that field.

 

What methods do you use when conducting impact surveys?

Could you please let me know your solution?

 

Thank you.

 

senon

3 REPLIES 3

Deepak Shaerma
Kilo Sage

Hi @senon 
“Show Dependencies” option for many of its objects, including fields. This feature can help identify where a particular object is being referenced throughout the instance. To use this, navigate to the field definition and look for the option to view dependencies. Note that while helpful, this feature might not catch every instance, especially in more complex or custom scripts.

For field validation check that if this field is affected by Ui policy or any other implemented on the particular field ..
 
1. Go to Form Builder, check the yellow points on fields that will show you the exact affected that change the behavior of the field.

DeepakShaerma_0-1712818121233.pngDeepakShaerma_1-1712818141018.png

 

Please Mark this Helpful and Accepted Solution. If this Helps you to understand. This will help both the community and me..
- Keep Learning ‌‌
Thanks & Regards 
Deepak Sharma

Thank you @Deepak Shaerma

This is one of the new features added in the Washington D.C version.
I can use this to see if a field is affected by a UI policy.
I think that's one of the answers I'm looking for.

However, I would like to find more ways to explore the fields specified in notifications, business rules, and reports, so I pressed Helpfiul.

I look forward to hearing other people's opinions.

Best Regard

senon

Shubham26
Tera Guru

Hi @senon 

 

We usually face these type of challenges, when our client ask us to update field definition (like name, type) or updating variable name/type etc in old code.

 

So, we implemented solution for this for our client, with code search option, which search text in all components of ServiceNow like client script, script include, BR, UI action, UI policy, ACL, WF etc.

 

There are below articles, which you can find more reference for code search functionality.

 

https://www.servicenow.com/community/developer-articles/code-search/ta-p/2321709

https://www.servicenow.com/community/developer-articles/expand-code-search-tables/ta-p/2592282

https://www.servicenow.com/community/developer-blog/using-code-search-to-make-developing-on-the-plat...

https://www.servicenow.com/community/developer-articles/code-search-tool/ta-p/2328073

 

 

Please Mark Shubham26_0-1712818915346.png Correct if this solves your query and also mark Shubham26_1-1712818915350.png Helpful if you find my response worthy based on the impact.

 

Thank You.

 

Regards,

Shubham Gupta