The Now Platform® Washington DC release is live. Watch now!

Help
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Reference Field max length

abhijats
Tera Expert

I want to understand the concept of max length for the Reference type of field, OOB it is 32.
but we can type more than 32 characters in that field while in other text field whatever the limit is set, can't type more than that.
So what is the logic behind this?
Please share.

2 REPLIES 2

Mark Stanger
ServiceNow Employee
ServiceNow Employee

A reference field always stores a sys_id that is 32 characters in length. The actual field that this is stored in is hidden when you look at a form but gets populated with the sys_id of the referenced record when you populate a valid value in the field you see. The field you actually type into is just for the display value of the reference field and the max length of 32 doesn't apply there.


ok, I was looking for this answer.