Delete a custom record created after "Insert and stay" of read only record

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2022 07:00 AM
Hi
I created a copy of an OOTB business rule - Create controls running on Risk Identification [sn_risk_advanced_risk_identification] table.
This BR was "Read only based on its protection policy", however i was able to create a copy of the same but now i am unable to update the new BR since the new BR also got created as "Read only based on its protection policy"
Can anyone help me with deleting this record?
I tried to do it from Fix script, background script but no luck. I also tried to change the xml of the record to set it Active as false and tried importing but everytime it is giving same error -
Background message, type:access, message: This item is read-only based on its protection policy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2024 12:59 AM
Hi @Chenab Khanna,
I believe you resolved this issue earlier, but I am sharing this for others who might be looking for a solution.
First, open the sys_metadata table and list the ACLs for it. Then, locate the ACL that controls write permissions and add the admin role to that ACL.
After updating the ACL, you can use the following script to update the record production policy. If it still does not work, add the script_include_admin role and try again: