Cross-scope table access issue like "...has been refused due to the api's cross-scope access policy"

Savan  Chovatiy
Kilo Explorer

We have created one Scheduled Script in scoped application.

When we are trying to update that Scheduled Script  from scoped app, then we getting following error.

"Write operation against 'sysauto_script' from scope 'x_abc_xyz' has been refused due to the table's cross-scope access policy"

 

When we are trying to execute that Scheduled Script  from scoped app, then we getting following error.

"Access to execute job 'XYZ Incident Creation' from scope 'XYZ' has been refused due to the property's cross-scope access policy."

We have also tried to add write operation allowed for scoped app in cross scope privilege but it doesn't work.

So anyone have any idea about this. Any thoughts?

 

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Savan,

This is the error you will receive when the Application Restricted CallerAccess record is not "Allowed".

You would be required to create a new record in this table (sys_restricted_caller_access] and give specified input about the source scope/ table object from where you are trying to access the target record (HR Profile)

refer below links for help

Cross scope privilege issue in Scoped Application

Read operation on table 'sn_hr_core_profile' from scope 'Global'

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Savan Chovatiya 

Hope you are doing good.

Let me know if I have answered your question.

If so, please mark appropriate response as correct & helpful so that this thread can be closed and others can be benefited by this.

If not, please let us know if you need some more assistance.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Savan,

You can find more details on this topic in my blog here.

https://community.servicenow.com/community?id=community_blog&sys_id=44ad22a9dbd0dbc01dcaf3231f961921