Why choice type field is empty even when default choice option is set for the field?

Ankita Kolhe
Tera Contributor

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.

AnkitaKolhe_0-1708407968268.png

AnkitaKolhe_1-1708408141094.png

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

2 REPLIES 2

James Chun
Kilo Patron

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

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Ankita Kolhe 

 

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]

****************************************************************************************************************