Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Strange behavior on save on string field

lukub
Tera Contributor

Hello Community!

Maybe anybody faced similar issue while I try to make a save/update on a string field on record form:

- numbers with more than 10 digits are converted and saved as 2147483647,

- strings not being saved at all (it's cleared after the form refresh).

Both issues happen on the same field.

What I should check more than field settings, table configuration? Save action itself looks like OOTB. What's more, comparing dev and test instance I don't see any differences and the problem occurs only on one of them.

 

6 REPLIES 6

Kifrez
Kilo Guru

Have you checked client script for that table?

 

lukub
Tera Contributor

Hi @Kifrez,
Yes, I checked: dictionary for the field, on table I checked: Business Rules, Client Scripts and UI Policies. I didn't find anything related to this field. I also checked ACLs with Filed Watcher and they evaluate to 'true' whether it's a number or string what I'm trying to save.

As I focused on what's not working, I forgot to mention that numbers with <=10 digits are saved correctly.

Perhaps, go to Tables > table_name > field_name > check the maximum characters allowed 

lukub
Tera Contributor

It's a string field with limit of 40. But again, it's the same on dev & test, while problem occurs only on test instance.