- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2024 11:47 AM
I've been asked to build a report to show which fields are mandatory on a form. This is for the ITSM space, so think of a report that shows the form name (ex: Incident), the field name on the form (ex: Impact) and then a true/false flag as to whether or not the field on the form is mandatory. Well aware mandatory state can be configured through multiple means within the platform, so I'm really not confident of an answer here.
- Is this even possible?
- Is this something that can be reported from a master table (kind of like Tasks), or is this a rinse and repeat where I need a report per form/module?
Appreciate any help or insights folks might have on how to rapidly assemble the data.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2024 10:09 AM
The real answer is, "No". There is no "one-stop-shop" view to see all fields made mandatory on a field due to the numerous ways in which a field may be coded to become mandatory.
There are workarounds to get to some information, but none of them are foolproof, and none will give "all".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2024 09:55 PM
Hi @Lisboa
- Possible
- There are several ways to set mandatory field on form so it depends on your instance configuration. I would suggest you exploring sys_dictionary and sys_dictionary_override first.
Another way is UI Policies which I'm afraid it's unable to run report on this.
Hope this help.
Oat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2024 10:21 PM
Hi @Lisboa
- Is this even possible?
Atul: Yes and No. Bcz a field can be make mandatory via tables level, via UI policy , Client script and BR as well. So you will get 100% accurate report is tough. Also few fields mandatory in some conditions.
- Is this something that can be reported from a master table (kind of like Tasks), or is this a rinse and repeat where I need a report per form/module?
Atul: No, as said above, tough.
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2024 10:55 PM
Hi @Lisboa ,
In general no. As you can see from earlier replies, ServiceNow utilize Client scripts, UI Policies, Dictionary etc. etc. to change field behavior, hence you will no be able to make a consistent report on this.
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
best regards
Anders
If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.
Best regards
Anders
Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2024 10:09 AM
The real answer is, "No". There is no "one-stop-shop" view to see all fields made mandatory on a field due to the numerous ways in which a field may be coded to become mandatory.
There are workarounds to get to some information, but none of them are foolproof, and none will give "all".