Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Advance Reference Qualifier not Working

nowitsvashu
Tera Guru

Hi,

In the service catlog I have a reference variable named as account, but I'm applying filter to according to the requirement in which i have used script include and calling it by reference qualifier.

I have checked my script include by calling it on bg script and it is working fine.

 

I have only doubt on advance reference qualifier can you please check and confirm this.

 

javascript: new scriptIncludeName().functionName();

 

7 REPLIES 7

Adrian Ubeda
Mega Sage

Hello @nowitsvashu , 

Check if 'Client callable' check is set to true and also if there's any scooped problem. 
Try this:

javascript : new scope.ScriptIncludeName().ScriptIncludeFunction();

If it was helpful, please give positive feedback! ✔
☆ Community Rising Star 22, 23 & 24 ☆

Yes it is true also tried this syntax also with application scope name but nothing works

Dhananjay Pawar
Kilo Sage

Hi,

Try below syntax in your reference qualifier.

 

javascript:new myScriptIncludeName().my_functionName()

tried but not resolved