Scope Application Cross-scope access policy

avinash21
Mega Contributor

Hi All

I have built a scoped application which constitutes of few tables, when a record is inserted on one of the table , it inserts a record in the table X in global scope. a BR is written on this X table under scoped application on insert for aborting the insert if some condition matches.I found the below error when BR fires.

"Access to api 'setAbortAction' from scope 'x_0016_licence_man' has been refused due to the api's cross-scope access policy"

I have read other post on cross-scope access policy but did not found a valid solution to his problem , Can some one please help me in sorting this out.

TIA

19 REPLIES 19

Hi Chuck


I am on Istanbul. I am trying to submit a record producer in HR Scope and there in the script area i have mentioned to abort the action.



Thanks


Sonali


Hi Chuck


I have created a record producer on HR Service Portal scope which creates a HR cases in HR Core scope. So when i use AbortAction on Record producer, I get that err message.



Thanks


Sonali


Hello Sonali,



Is the record producer created in the same scope? To reproduce the issue, can you please give details on the plugin to be installed and exact table names


Vijendra2
Giga Contributor

Probably it could be late, I face similar problem also on the table as well. However, that has been resolved by updating the "Application access" into the table. I set "



find_real_file.png



-Vijendra Sainy


Please like, Helpful or Correct if this resolves your issue.


Imran Makandar
ServiceNow Employee
ServiceNow Employee

Go to Business Rule written on X Global scope table, check "Abort Action" checkbox available in Actions tab of that Business Rule. In Advanced tab, you will be getting just Condition and not scripting but you can call script include having specific criteria to abort action.