Application Cross Scope privilege not working.

SatyendraS18225
Tera Contributor
I wrote a after insert BR on incident table in which i want to delete a record of Table.
 
(function executeRule(current, previous /*null when async*/) {
    var gr = new GlideRecord("x_1981567_peak_de_iceing");
    gr.addQuery('number',"DE-0001019");
    gr.query();
    if(gr.next()){
        gr.deleteRecord();
    }
  
})(current, previous);
 
(x_1981567_peak_de_iceing ) of application scope where can delete is already unchecked(Ref to screenshot).

SatyendraS18225_1-1792581160387.png


& There is no sys_restricted_caller_access record & no sys_scope_privilege record made against this custom scope table.

As per my perspective custom table record should not delete but actually record is deleted, Why????


 
1 REPLY 1

Ranjit Nimbalka
Mega Sage

Hi @SatyendraS18225 ,
can you please check the scope of your Business rule record.