We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

hvrdhn88
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()

JG16
Tera Contributor

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

JG16
Tera Contributor

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