We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Displaying as "Undefined", when we get value from table

kss
Kilo Guru

In a Catalog item, when we try to get a value from a table, the field on the catalog item is displaying as "Undefined".

I have also written a Client script to clear the value, but the "undefined" is not getting cleared.

Please suggest.

4 REPLIES 4

Steven G_
Tera Expert

Hi Kss,



can you post a screen shot? I am a little confused


Undefined.JPG



When I search on a reference field, it returns as undefined. If the reference table has has some value, then it displays the exact value, if not then it displays as undefined


Can you post a screen shot of the Dictionary entry? want to see the refrence specification section


Abhinay Erra
Giga Sage

Are you setting the value using a client script?