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

not getting result when change from reference to lookup box

chercm
Mega Sage

i have a catalog form and when i used to the reference and reference qualifier javascript: "install_status=6^stockroom=" + current.u_stockroom;  how can i change to use lookup box where it will look for instock status ?

 

image.png

image.png

 

1 ACCEPTED SOLUTION

Hi @chercm I found the reason why it is not working for you because for look up select box you need to ref_qual_elements=stockroom under variable attributes.

 

'your reference qualifier will be

javascript:'install_status=6^stockroom='+current.variables.stockroom;( stock room is the variablename of reference field)

 

I tested in PDI the below works fine refer below screenshots

HarishKM_0-1710468101861.png

HarishKM_1-1710468124563.png

 

Regards
Harish

View solution in original post

10 REPLIES 10

Hi @chercm happy to assist and learn together 😊

Regards
Harish