Notification for Promote to major Incident
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2024 08:08 AM
I have a task to send notification to the MIM admin when a incident has been promoted. I went to configure the notification but there is only one for when a incident has been "proposed". Do I need to create an advanced script for a new notification or is there a condition that is for "promoted.
currently I don't see it as a option for when state changes to promoted?
I've included a screenshot for the current notification and options available
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2024 09:26 AM
Hi @DevtoSME
You might need to create a Business Rule that triggers the notification when the state changes to "Promoted".
Example:-
if (current.state.changesTo('Promoted')) {
var notification = new GlideRecord('sys_notification');
notification.initialize();
notification.name = 'Incident Promoted';
notification.recipients = 'MIM Admin';
notification.insert();
}
Regards,
Manoj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2024 01:49 PM
thank you i will try tihs