Why choice type field is empty even when default choice option is set for the field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2024 09:52 PM - edited ‎02-19-2024 09:53 PM
Hi Community,
There are few records in which choice type field value is empty but the default value is set to 'Current'. I'm not able to understand how this records got created.
I tried creating the record with background script & found that it's value set to Current only when not providing any value through script.
I'm not able to troubleshoot that how these records have Entity Status as empty.
Thanks,
Ankita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2024 10:40 PM
Hi @Ankita Kolhe,
Default value is applied only when there is no value specified and during the creation only. Maybe someone created the records and then updated the field? Or the default value was set after these records were created?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2024 03:05 AM
Could you please provide table name, so that i can check at myend.
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]
****************************************************************************************************************