Kalaiarasan Pus
Giga Sage

ServiceNow does play it's fair share of weird tricks while creating fields sometimes. We saw a strange issue with one of our newly created field, where it was getting displayed without any label like below.

10-6-2017 4-33-35 PM.png

If you see the screenshot, this is a normal true/false field without any label.

How and why did we get this issue?

  • The field was originally created as a list field but later we had to change the data type of the field to true/false. Since this was a new field holding no data on any of the records, ServiceNow allowed us to change the data type.
  • On changing the datatype, ServiceNow was smart enough to clear the reference field column of the field but dumb enough to not change the Max length of the field.

The result of not resetting the Max Length? This Alien looking field.

What was the fix?

  • Simple. Just reset the size of the field to default size of 40.

Result after the change:

10-6-2017 4-41-14 PM.png

Hope this helps.