In a table, field value is set to "NO", it gets changed to "None" on load of the form. No script run
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2025 02:57 PM
Hi Team,
As shown in below figure
"Publication required" is String / choice type field with the choices having values Yes / No.
if we set it to NO and save the form, the value gets correctly saved in the database and is visible in the list view.
But if we open that record, this field hold default value "None".
there is no onload script running which clears its value. Then why on load of form, it clears the value?
is it issue because of incorrectly configured UI polices?
please help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2025 03:00 PM
Please check the dictionary entry of the same:
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
‎07-08-2025 03:27 PM
Hi @Dr Atul G- LNG
Thanks for your reply.
I tried multiple options there.
if it is with None , then onload it sets value to None
if default is set to Yes then onload it sets value to yes
but while saving the record the value saved was "NO"
in list view it is showing as No but in the form view it shows default value - either None or yes or whatever is default.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-09-2025 02:02 PM
Not sure — there might be some Business Rule running and causing this.
It’s better to log a ServiceNow support case to investigate further.
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
‎07-08-2025 10:55 PM
This should only be UI policy or client script. please double check. Maybe this table is extended from another table and there are UI policies and client script on that table changing the value.