illegal access to private script include: caller not in scope

svdv
Tera Contributor

svdv_0-1712154923901.png

Any solution or reason of it?

7 REPLIES 7

Community Alums
Not applicable

You need to set this script include ApprovalAdaptiveCardHelper to "All Application Scopes" in order to be called from other application (which doesnt have cross scope privileges obviously now). 

JoroKlifov1_0-1712155783708.png

 

Hi,
But the same functionality is working in another instance And editing the out of the box functionality will not be the best approach. 

Community Alums
Not applicable

Have you checked sys_scope_privilege table if some records are pending approval? State should be Allow. If there are not - then create new one - from calling app to the called app for script includes and set it to Allow. This should do the trick I suppose

 

 

Yes, after opening sys_scope_privilege table, that particular record status is allowed.

svdv_0-1712208646090.png

Still the issue arises.

 

Cheers,