Fields in ServiceNow accepting string inputs greater than the sys_dictionary max_length value

chandana16
Tera Contributor

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

1 ACCEPTED SOLUTION

Sagar Pagar
Tera Patron

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:

  1. if your sting field has length 1 to 255 characters. It will show the limit error message.
  2. 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

The world works with ServiceNow

View solution in original post

4 REPLIES 4

Sagar Pagar
Tera Patron

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:

  1. if your sting field has length 1 to 255 characters. It will show the limit error message.
  2. 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

The world works with ServiceNow

Hello Sagar,

Thanks for sharing the info. Can you please suggest the solution to fix this.

Regards,

Chandana

Hi @chandana16,

It is an exception. currently, I did not found a way to fix this issue.

 

Thanks,
Sagar Pagar

The world works with ServiceNow

Hello Sagar,

Ok, Thank you so much for helping out.

Regards,

Chandana