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.

Illegal access to private script include DurationCalculator in scope rhino.global being called from scope ?

nthumma
Giga Guru

I am getting follwong error after Helsinki upgrade on one fo my custom app.

Illegal access to private script include DurationCalculator in scope rhino.global being called from scope

Any thoughts ?

1 ACCEPTED SOLUTION

Abhinay Erra
Giga Sage

Change the the script include so that it is accessible form all application scopes as shown below.



find_real_file.png


View solution in original post

7 REPLIES 7

Abhinay Erra
Giga Sage

Glad you got your question answered.


Hey Abhinay,

 

When i am changing my Scoped Script Include to All applications scope, after saving it is again getting changed to This Applications scope only.

Any idea why?

Hello @ServiceNow SA 

Once its save to a scoped app it doesn't allow you to change it. 

You can try to create a new one with all the same script and name. Retire the old one and change the name. When you create the new and set it to - All application scopes

 find_real_file.png