- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2025 08:53 AM
This is a description of the maintenance rule, "CI in Change Window."
The OOTB code just involves this,
(function findCisInMaint(){
var impactManager = new SNC.ImpactManager();
var cis = impactManager.getCisInActiveChangeWindow();
return cis;
})();
We want to exclude one more state, specfically the state with a value of 1. It seems like getCisInActiveChangeWindow() detects changes with values of -2, -1, 1, and 2, and it doesn't seem like that function can be modified. Would there be another way to exclude a state with a value of 1 as well? Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2025 01:04 PM
Might have solved it. Just used a gliderecord on change and searched for state 1. Then, I looked for matching entries on cis, which I converted to an array, and then filtered those out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2025 09:32 AM
Hi @AM24
As the script include specified in the maintenance rule is not editable, you can create a custom script in this maintenance rule or create a new maintenance rule and deactivate the OOTB one.
Let me know if you need assistance with the script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2025 01:04 PM
Might have solved it. Just used a gliderecord on change and searched for state 1. Then, I looked for matching entries on cis, which I converted to an array, and then filtered those out.