Is there a way to explore how much impact there is when changing the definition of a field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2024 07:28 PM - edited 04-10-2024 07:32 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2024 11:49 PM
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.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2024 12:04 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2024 12:03 AM - edited 04-11-2024 12:04 AM
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-articles/code-search-tool/ta-p/2328073
Please Mark Correct if this solves your query and also mark
Helpful if you find my response worthy based on the impact.
Thank You.
Regards,
Shubham Gupta