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.

Execute operation on script include 'XXXX' from scope 'Global' was denied

JG16
Tera Contributor

Hi,

I am trying to generate PDF but i am getting below error. Can anyone help on this. where i can check this / correct this

Execute operation on script include 'hr_PdfUtils' from scope 'Global' was denied. The application 'Global' must declare a cross scope access privilege. Please contact the application admin to update their access requests.

 

Thanks 

JG

5 REPLIES 5

Harsh Vardhan
Giga Patron

Go to script include and set "Application from" as all application scopes and try to access your script include like. 

<your application scope>.ScriptIncludeName().functionName()

Hi,

The Script Include scope is set All application scopes only also we are accessing the functions as you have suggested i.e. <your application scope>.ScriptIncludeName().functionName()

 

Same error.

Thanks

JG

 

adding HI Article here , kindly have a look on it. 

 

https://hi.service-now.com/kb_view.do?sysparm_article=KB0759087

Thank you so much . Seems I have got some useful information from the above link.