Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2020 08:26 AM
Hi Deepika,
Good Day! Please do write the fix script with below code, and run the same. It should works 🙂
var gr = new GlideRecord('sys_script_include');
if (gr.get('add sys id of script include')) {
gr.sys_policy = ''; //remove protection
gr.update();
gr.deleteRecord(); --> add this line if you want to delete the record else you can set the value as empty
}
Thanks,
Priyanka R