getting scope error

Ravish Shetty
Tera Guru

Hi all,

 

I seem to be running into an issue where I see this banner message on the custom scoped table which I created.

The table application access is limited to the same application scope and this issue only happens if there is an attachment attached to the record in the table.

 

RavishShetty_0-1726691347501.png

 

RavishShetty_2-1726691231160.png

 

 

 

 

Thanks,

Ravish

4 REPLIES 4

Gangadhar Ravi
Giga Sage
Giga Sage

@Ravish Shetty Please check this article 

 

https://www.servicenow.com/community/developer-blog/securing-an-application-using-cross-scope-access...

 

Please mark my answer correct and helpful if this works for you.

Sumanth16
Kilo Patron

Hi @Ravish Shetty ,

 

Create cross scope record like below with your scoped application

 

Sumanth16_0-1726691600785.png

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda

 

Sandeep Rajput
Tera Patron
Tera Patron

@Ravish Shetty There are two ways to address this isseue.

1.  Set the Accessible from to 'All application scopes'

RavishShetty_2-1726691231160.png

2. Create a cross scope application restricted caller access record within you custom application scope where source scope is Global and Target scope is your custom application and table name is name of your table.

Ravi Chandra_K
Kilo Patron
Kilo Patron

Hello @Ravish Shetty 

As Sandeep mentioned, the Table is set to accessible only from same scope.

Set it all application scopes like Sandeep mentioned in his comment.

 

After setting that, See if an Restricted Caller Access record gets created for that table.

Once the RCA is allowed, it works from next time without any scope issue.

 

Please mark this answer as helpful and correct if helped.

Kind Regards,

Ravi Chandra