cross scope access policy

Mohammed Masi U
Tera Contributor

Hello Experts,

I'm trying to delete uni_task record and it gives me an error " Security restricted: Delete operation against 'sn_uni_task_universal_task' from scope 'rhino.global' has been refused due to the table's cross-scope access policy"

FYI, I've checked 'Can delete' on table --application access.


Someone kindly help me with this.

Thanks,
Masi

1 REPLY 1

Vrushali  Kolte
Mega Sage

Hello @Mohammed Masi U ,

 

The issue arises because you are attempting to delete a record from one scope while in another scope. Try creating a cross-scope privilege record and see if that resolves the problem.

 

Follow these steps to give cross-scope access to any module:

  1. Navigate to System Application > Application Cross-Scope Access

  2. Click on New to create a new record

  3. In the form, fill in the following data:
    • Target Scope: The application whose resources are being requested.
    • Target name: The name of the object being requested (eg: "SysRelatedList")
    • Target type: The type of request: table, script include, or script object.
    • Status: Allowed
    • Source Scope: The application requesting runtime access to another application's resources
    • Operation:  Tables support the read, write, create, and delete operations.

 

VrushaliKolte_0-1720711918057.png

 

 

additionally,  please check the below resource-

https://www.servicenow.com/community/developer-forum/quot-write-operation-from-scope-rhino-global-ha...

If my answer solves your issue, please mark it as Accepted✔️ and Helpful👍 based on the impact.