Capture Max length for Dictionary attribute override in update set

Amit104
Kilo Expert

Hello Folks,

OOTB the max length of the 'Attributes' field available in Dictionary override form was 255, I changed it to 1000. I captured this change in the update set. So when i moved the update set to TEST instance, the max length got changed to 1000 correctly. But in TEST instance when i enter the attributes with more than 255 characters in the 'Attributes' field and save it.. its value trims to 255 character. In other words, on save it is not accepting values more than 255 characters even though the max length is 1000. However on DEV it is allowing to save more than 255 characters.

Please advice. Thanks in advance.

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Amit,

Sometimes this issue comes because the dictionary length gets set to 1000 in ServiceNow but not in database where the actual field length is present

when you update the max length to some larger value the field type changes internally in database which must not have happened till now after moving your update set; 255 length means CHAR data type in database

Raise a ticket with ServiceNow team for this and they should help you.

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Amy Lind1
Giga Guru

Changed the max length to 4000 and I was able to save more than 255 characters in the Attributes field of a Dictionary Override.