- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2022 07:01 PM
I ran the following Background Script to delete all the Case records which are unnecessary.
var gr = new GlideRecord('sn_customerservice_case');
gr.query();
gr.deleteMultiple();
I tried in both Global and Customer Servise scope, but the error occurred for each and the script did not ran...
Please give me some advice to make it work properly.
Best Regards,
Aki
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2022 07:22 PM
Hi,
Deleting records from that table is not allowed from different scopes. If you want to allow deletion then check below checkbox on table configuration record <sys_db_object>.
Thanks,
Anil Lande
Thanks
Anil Lande

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-02-2022 07:22 PM
Hi,
Deleting records from that table is not allowed from different scopes. If you want to allow deletion then check below checkbox on table configuration record <sys_db_object>.
Thanks,
Anil Lande
Thanks
Anil Lande