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.

Fetch lookup select box value

Ashish Das
Tera Contributor

how to fetch catalog item name from a lookup select box variable which refers to catalog item table having reference qualifier to show only 4 catalogitems from which 2 catalogs item i want to fetch that 2 catalog item name in if condition

2 REPLIES 2

Voona Rohila
Mega Patron
Mega Patron

Hi @Ashish Das 

Can you explain in detail of your issue/requirement with screenshots?


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

Anurag Tripathi
Mega Patron
Mega Patron

This should work

g_form.getDisplayValue('<field name>')

or

g_form.getValue('<field name>')
-Anurag