Script include returns array of values but not getting showed in variable of reference qualifier.

Anusha Anus
Tera Expert

Script include returns array of values, which we can see in logs. But in the catalog item variable nothing is  getting displayed.

 

Please do the needful.

 

Regards,

Anus

1 ACCEPTED SOLUTION

Anil Lande
Kilo Patron

Hi @Anusha Anus ,

Everything is correct in your case, you just need to make small change in your Script Include on Line 11.

Your Line 11 is like below:

ans.push(grinc.number.toString());

 

Just change it like below:

ans.push(grinc.sys_id.toString()); 

 

As you have applied query sys_idIN<pass the list sys_ids of incidents instead of numbers>

 

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

View solution in original post

5 REPLIES 5

Anusha Anus
Tera Expert

Thanks @Anil Lande its working now😊