
- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 06-02-2021 07:13 PM
Hello Everyone,
I would like to share one of my work that might helpful to my fellow ServiceNow colleagues i.e. Stop any CI deletion from a particular table in any way i.e. not even ‘Admin’s’ can delete it or any script can delete it.
All this is done with a simple business rule, so it can be ‘activated’ or ‘deactivated’ as and when required by just simply checking or unchecking a box, nothing else is required. Here I am showing the example of Service Table(cmdb_ci_service),but this can be extended to any table in ServiceNow.
Notes:-
I am just sharing my way of completion and being owner of ‘very less ego’ & ‘always learner mentality’ I welcome for ‘feedback’. So, please feel free to comment on my articles without any hesitation.
Steps
Please create a business rule like rule like below.
Tracking
The below mentioned URL (Please replace – YOUR INSTANCE NAME with your actual instance name) will give you the tracking details even if someone attempted it like the screenshot sample with ‘highlighted’ sections will give you relevant details.
https://(YOUR INSTANCE NAME).service-now.com/nav_to.do?uri=%2Fsyslog_transaction_list.do%3Fsysparm_query%3Dtype%3Dxmlhttp%5EurlLIKEsysparm_obj_id%5EurlLIKEsysparm_name%3DproceedWithDeleteFromForm%26sysparm_table_name%3Dcmdb_ci_service%26sysparm_first_row%3D1%26sysparm_view%3D
Please let me know for any further questions and I will be happy to answer it.
Thanks!!