Deleting from tables with cross-scope access policy

Jake Broekhuize
ServiceNow Employee
ServiceNow Employee

Hey all,

I am having trouble deleting all records in a table (in multiple tables) within a custom application. I have selected the 'Can delete option' (see below) and there are no entries in the 'cross scope privileges' section of the application (see below). Also see below for the error message whenever I try and delete:

find_real_file.png

find_real_file.png

 

find_real_file.png

5 REPLIES 5

Maik Skoddow
Tera Patron
Tera Patron

Hi @Jake Broekhuizen ,

can you please also check "Allow configuration" and try again. And also select from Application picker your Custom Application as it seems that you were in global scope during your deletion try. 

Kind regards
Maik

If my answer replied your question please mark appropriate response as correct so that the question will appear as resolved for other users who may have a similar question in the future.

Hey @Maik Skoddow ,

Thank you for your suggestion but I have tried that and as you'll see in the header I am in 'SalesComp' which is my local application. Selecting 'Allow configuration' doesn't seem to work either.

find_real_file.png

Siddhant
Tera Expert

In the module - Application Restricted Caller Access, you can create a new record to allow delete access across scoped applications

find_real_file.png

 

Also I would like to add, after you configure table to create/update/delete from other scopes it takes time to reflect changes across the instance. So I would suggest try giving a explicit access as shown above and let me know if that works. Thanking you

Thank you for the reply Siddhant but I am unsure as to what the values of the fields in this new record that I am creating should be so that I can universally delete records from other scopes. 

 

find_real_file.png