current.variables.variablename is returning undefined

Kamal17
Kilo Sage

Hi,

I have created a catalog item where i'm using two variables "category" and "sub category" which are of reference type.

Based on the value chosen in "category", the values in "sub category" are filtered.The following code is used in the subcategory's Reference qual condition.

javascript: new scriptincludeName().functionName(current.variables.category)

I'm passing the category value as a parameter to a script include function. But current.variables.category returns undefined.

Please share your suggestions to fix this issue.

Regards,

Kamal

1 ACCEPTED SOLUTION

Kamal17
Kilo Sage

Servicenow has suggested to clone the instance fix this issue.



Regards,


Kamal


View solution in original post

7 REPLIES 7

HI ticket?


Yes its done today, but just wanted to know if someone faced similar issue and solved it.



Regards,


Udhay


Kamal17
Kilo Sage

Servicenow has suggested to clone the instance fix this issue.



Regards,


Kamal