Planned Outage Notification NOT WORKING
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2023 05:52 PM
Hello all,
I am trying to figure out why my notification set up for Planned Outages is NOT working. I cannot figure out what i am doing wrong, i copied the Outage start notification and modified it, but for whatever reason the Planned Outage Notification never triggers. I would really appreciate a 2nd set of eyes on this.
Notification:
Script action:
Condition: !current.cmdb_ci.nil()
PlannedserviceOutageBegin();
function PlannedserviceOutageBegin() {
var notes_p = new GlideRecord("m2m_sp_status_subscription");
notes_p.addQuery("cmdb_ci_service", current.cmdb_ci);
notes_p.query();
while (notes_p.next()) {
gs.eventQueue("outage.planned.notif", current, notes_p.getValue('sys_user'), current.cmdb_ci.getDisplayValue());
}
}
Events:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2023 07:58 PM - edited ‎10-25-2023 07:59 PM
Hi @lando321
Double check the Event Queue, to verify whether the event was fired.
Using this URL.
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2023 08:14 PM
Hi @lando321 ,
As suggested by Tai check the event logs whether the event was triggered or not. Also I want to understand when ur outage.planned event gets fired. Because in script action I am seeing that you are calling outage.planned.notif when outage.planned is triggered.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2024 01:54 AM - edited ‎07-19-2024 04:11 AM
It is a very old request and might be you got this by now. But to add on this, check your Business Rule which is firing the event. BR - Service Portal Outage Events
Also, make sure you have record in m2m_sp_status_subscription table for the CI you are testing.