Current.variables.<variable name> is not working in reference qualifer in catalog item ServiceNow

Rajesh44
Tera Expert

Hey Guys,

Reference qualifier is not working if I try to get dynamic value by using current.variables.<variable name>. But if I give a static value then it is working fine. Help me to sort this out.

Regards,

Rajesh 
 


17 REPLIES 17

Palak Gupta
Tera Guru

Hi there!

Remove ";" semicolon sign in the end and put "+" plus sign in place of that.

Regards,

Palak

Hi @Palak Gupta,

Tried this but no luck

 

Regards,

Rajesh 

Okay, try putting ".getDisplayValue()" in the end.

Trying putting this as well if above one doesn't work.

+current.variables.variable_name.getDisplayValue()+''

Hi @Palak Gupta ,

Tried both of the solutions, but no luck.

Regards,

Rajesh