how to call two script includes in reference qualifier field of service catalog variable

Mamta Waghmare
Tera Contributor

I have a script include written to get users of a particular country and another script include to get user of different country according to which user of country is logged in. I get a list of users of that particular country.

I have been successful in calling two script includes in a reference qualifier for normal incident variable caller_id

find_real_file.png

Now I want to call these two script include in service catalog variable "Request for " to get users according to the logged in user of that particular country.

find_real_file.png

I tried this but isn't working.

Kindly help me with this issue.

12 REPLIES 12

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Abhinay Erra
Giga Sage

what does your script includes return? Sys_id's of the users? If yes use this


javascript: "sys_idIN"+script include1 goes here+script include2;


Hi Abhinay,



Can you explain to me this code.


javascript: "sys_idIN"+script include1 goes here+script include2;



I m a bit weak in coding


It means that it only retrieves those user records that match these sys_id's. Can you post your script include codes here. I will let you know what changes to make based on your code.