Notification for Promote to major Incident

DevtoSME
Giga Guru

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

2 REPLIES 2

Manoj R Zete
Tera Expert

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

DevtoSME
Giga Guru

thank you i will try tihs