- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2023 05:48 AM
Hello Team,
I have came across that one of the filed in change is accepting the characters more than the defined maximum length in dictionary entry. so how it is even possible ? Why it is not showing any error ? why it is not truncating ?
Please let me know how to fix this.
Regards,
Chandana
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2023 06:02 AM
Hi @chandana16,
It is OOTB behavior as per the ServiceNow support KB.
For reference: KB0685779: Fields in ServiceNow accept string inputs greater than the sys_dictionary max_length valu...
Note:
- if your sting field has length 1 to 255 characters. It will show the limit error message.
- if it is great than 255 characters, then there is not limit for sting fields. Hence it is not showing error message or truncate the string.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2023 06:02 AM
Hi @chandana16,
It is OOTB behavior as per the ServiceNow support KB.
For reference: KB0685779: Fields in ServiceNow accept string inputs greater than the sys_dictionary max_length valu...
Note:
- if your sting field has length 1 to 255 characters. It will show the limit error message.
- if it is great than 255 characters, then there is not limit for sting fields. Hence it is not showing error message or truncate the string.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2023 06:19 AM
Hello Sagar,
Thanks for sharing the info. Can you please suggest the solution to fix this.
Regards,
Chandana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2023 07:17 AM
Hi @chandana16,
It is an exception. currently, I did not found a way to fix this issue.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2023 09:54 PM
Hello Sagar,
Ok, Thank you so much for helping out.
Regards,
Chandana