True/false field displays 1/0 instead of true/false
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 02:10 AM
Hi!
I have a True/False field on one of my form and my problem is, every time I change the field to either true or false it displays 0 or 1 instead. In the XML view I can see the true and false value but on the form and list it displays 1 or 0.
Anyone has ever encountered with this problem? I checked all the BRs and CS and UI policies there are no rules for that field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 03:02 AM
Look like you configuration is wrong 😞
Please check OOTB
like
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
02-12-2024 02:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 02:34 AM
Hi @Servicenow34 !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 02:37 AM - edited 02-12-2024 02:42 AM
Can you try by changing the choices value as 0 and 1 instead of true and false?
Kindly mark helpful/accepted if assists.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 02:37 AM
you can configure the dictionary entry for your field to provide display values.
- Navigate to "Dictionary" in ServiceNow.
- Find and open the record for your True/False field.
- Look for the "Display Values" related list.
- Add two entries: one for "True" with a value of 1 and another for "False" with a value of 0.
After making these changes, when you view the field in the form or list, it should display "True" or "False" instead of 1 or 0.
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful."