Adding Multiple reference qualifier

Appu
Tera Guru

Hi 

I wanted to add a filter condition to a variable in catalog item but there is already an advanced reference qualifier present.
now I want to add this filter condition operational_status=1 along with the present condition.

javascript: current.variables.v_BLine2 == '' ? '': 'u_group='+ current.variables.v_BLine2;(existing condition)

I tried this way but didnt get the result
javascript: current.variables.v_BLine2 == '' ? '': 'u_group='+ current.variables.v_BLine2+"^operational_status=1";

Any suggestions..?

1 ACCEPTED SOLUTION

Hi,

is your existing ref qualifier working fine?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

update as below

javascript: current.variables.v_BLine2 == '' ? '': 'u_group='+ current.variables.v_BLine2 + '^operational_status=1';

Did you check the variable is reference type and has that column in that table

please share variable configuration image and ref qualifier image

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

the variable is reference type and table has the column operation

find_real_file.png

find_real_file.png

copied the query from here.

And i tried this condition also javascript: current.variables.v_BLine2 == '' ? '': 'u_group='+ current.variables.v_BLine2 + '^operational_status=1'; but didnt work

 

Hi,

is your existing ref qualifier working fine?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@appu

Hope you are doing good.

Did my reply answer your question?

If so, please mark appropriate response as correct & helpful so that the question will appear as resolved for others who may have a similar question in the future.

Thanks!
Ankur

 

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader