How to Hide the "CI removed" message in activity in incident form when we change the CI?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
How to Hide the "CI removed" message in activity in incident form when we change the CI in incident form?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Hi @Meena4
Below Logic will work Try and let us know
1. Suppress Journal Field Logging via Business Rule
-
Go to Business Rule on incident.
-
Create a before update rule.
-
Check if only cmdb_ci (Configuration Item) is changed.
-
Prevent the system from logging that field into activity.
(function executeRule(current, previous /*null when async*/) {
if (current.cmdb_ci.changes()) {
// Stop logging to activity for CI field
current.setWorkflow(false);
}
})(current, previous);
But careful: setWorkflow(false) disables all workflows + audit, so better is below method.
Remove Field from “Journal Fields”
-
Incident activity is driven by Form Layout → Journal Fields.
-
By default, cmdb_ci is included for audit logging.
-
Navigate: System Definition → Dictionary
-
Table = incident
-
Field = cmdb_ci
-
-
Uncheck Audit.
-
Now changes to CI won’t show in activity log.
This is the cleanest method if your requirement is never log CI changes.
If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!
Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI
YouTube: https://www.youtube.com/@learnservicenowwithravi
LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Thanks for your response.
Form Layout → Journal Fields. not available
please help me to get this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
@Meena4 ,
Does it show up directly on the Incident form when the CI is changed?
If so, please check if there is a Client Script of type "onChange" on the cmdb_ci (CI) field that might be generating this message.
Try reviewing the script and removing any logic that explicitly adds the "CI removed" message.
I couldn’t find this behavior in my PDI, so it might be a custom implementation in your instance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Thanks for your response.
As I checked no existing Client Script for this.