Reference qualifier with catalog item

Priya75
Tera Contributor

Hi All,

 

I have a variable. name "ABC" it's a choice list, and another variable which is a List collector name "BCD". So variable BCD depends on ABC variable.

 

So I have used a reference qualifier in BCD variable.

 

javascript   new ScriptIncludeName.FunctionName(current.variables.u_bcd);

 

The script include is client callable and when i checked it is coming as empty. any idea how can get desired values..

 

 

 

 

12 REPLIES 12

variable name is correct.

Are you getting anything in the log on script include?

-Anurag

yes , i am getting the value text. but the value is empty.

 

Also the choice's are coming from the table, is that could be a problem?

the choice of variable ABC is coming from the table, when I checked onChange client script on ABC it is giving me the correct choice. but that value is not getting passed to script include. 

 

Hi @Priya75 I see the issue now, the below line is incorrect

ga.addQuery("value", value); // there is no value field in incident.

change this to

ga.addQuery("state", value); // now you can compare state with value

Regards
Harish

I have just given the example, as i can't share the proper details.