- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-10-2020 12:22 AM
When we create a change request there is a Maintenance Rule ("CI in change window") which sets the CI in maintenance, and the CI shows up in the em_impact_maint_ci table. Any alerts from that CI will have the "Maintenance" flag set to true. Often when we create a change request it is for a job that affects multiple CIs, and when we create the change request we add one CI to the "Configuration Item" field of the change request, and the additional CIs are added to the "Affected CIs" (task_ci) table. This does not work with the standard Maintenance Rule "CI in change window", so only the CI added to the "Configuration Item" field in the change request is set in maintenance.
How can I make sure that all the CIs in the "Affected CIs" list for a change request are set in maintenance as well? I suspect I have to add a new maintenance rule, but I have not found a good solution for this. Any help is appreciated.
Solved! Go to Solution.
- Labels:
-
Event Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-10-2020 06:31 AM
Hi - this is not done out of box however by creating a new maintenance rule you can easily achieve what you are asking, take a look at the same pic below ::
Hope this helps.
Thanks,
-Ryan

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-10-2020 06:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-10-2020 08:04 AM
Thanks a lot. It was perfect. I had forgot about the whole dot-walking thing in the fields. I just changed one thing, "Task.State is one of Scheduled, Implement" because I think that is more in line with the OOB maintenance rule.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā06-10-2020 08:13 AM
ah great suggestion - I'll update my rule, thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā11-10-2022 10:00 AM
Hi Erlfos, I have created the same rule even then only the CI in "Configuration Item" field of the change request is set into maintenance not the one in affected task(task_ci). Here is the screenshot of the rule which I created referring to the Ryan response.