The CreatorCon Call for Content is officially open! Get started here.

Automatically creation of Cross Scope Priviledge

Abhishek Sharm1
Tera Contributor

Hi

I am facing an issue: when i am trying to do the read operation from custom application to Global Application via background script. It automatically created a cross scope privilege record with read operation. How can we disable this auto creation?

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@Abhishek Sharm1 

it comes from table's application access

If your global table is made accessible from all scoped and other scope script is trying to access, system automatically creates cross scope. I don't think you can stop it

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Anand Kumar P
Giga Patron

Hi @Abhishek Sharm1 ,

 

It is application-to-application security. If you go to the tables you are trying to write, you'll see an Application Access tab that defines the cross application access to All Applications, or else it will create record in cross scope privilege table when you hit form BG.

AnandKumarP_0-1734344472903.png

 

In background script after Run Script button you can see the scope update the target table scope.

 

If my response helped, please mark it as the accepted solution and give a thumbs up👍.
Thanks,
Anand

 

Ravi Chandra_K
Kilo Patron
Kilo Patron

Hello @Abhishek Sharm1 

On Your Global Table configurations, You will have below options in 

Caller Restriction: Calls to the resource must be manually approved. Access requests are tracked in the Restricted Caller Access table with a status of Requested.

None: Cross-scope calls to the resource are approved or denied based on the value of the Accessible from field.

 

So if you set your Table is accessible from all scopes with caller access as None

 Then the system will automatically allow the cross scope access doesn't create one automatically.

 

Please mark the answer as helpful and correct if helped. 

Kind Regards, Ravi Chandra  

Caller Tracking: Calls to the resource are automatically approved. Calls are tracked in the Restricted Caller Access table with a status of Allowed.