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.

allow free text in reference field

brumiou
Mega Guru

Hi,

I've found a long time ago a way to accept free text in reference field (without creating a new record in the reference table)... but I can't retrieve this info :s

Can someone help me?

Thanks a lot

rgds

Xavier

3 REPLIES 3

Mark Stanger
Giga Sage

I've never seen something like that. If you were able to add free text to a reference field, it was because of a bug in the system that caused it to happen. Reference fields always have to have a valid association to a referenced record. If you need to use free text you need to use a regular string field.


I'm sure at 110% that I've already seen and even tested that!

it was an attribute to put in the dictionary or something like that

We need in this case a reference field to the sys_user table, but in some exceptional case, the user is a firm (and we don't want to create a new record)


I have seen catalog variables that are reference fields allow this but Mark is right it was/is a bug and even if you did manage to do this with some client scripting I think you would find it causes more issues then it solves. What we did is add a check box called "No AD Account" and then a UI policy to switch out the caller field with a text box.