You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This "after" business rule automatically creates a Problem record when a particular Configuration Item (CI) has had 5 or more incidents in the last 24 hours, and no open Problem already exists for that CI.
2
+
This helps in proactive problem management, aiming to address recurring issues.
3
+
Here’s the working of the code explained:
4
+
5
+
- Check if CI is present in the current Incident (current.cmdb_ci).
6
+
- Count incidents created in the last 24 hours for the same CI using GlideAggregate.
7
+
8
+
If 5 or more incidents are found for that CI:
9
+
- Query the Problem table to check if an open Problem (not closed) already exists for that CI.
10
+
- If no open Problem exists, create a new Problem record with: The same CI, A predefined short description And set its state to New (1).
11
+
- Log a message indicating that a Problem has been created.
12
+
This automates Problem creation for frequent incidents on the same CI.
0 commit comments