Audio Notifications possibility in servicenow

Evan2
Kilo Guru

Hi All,

Please help in configuring below requirement-

  • Incident in list view upadtes by self after 1 minutes.
  • If a P1 incident is logged the corresponding assigned to team will get a audio alert so that they can act proactively.

 

For this you can assume a similar examples like - when we get new emails we have a beep sound or some sound alert from our system. In the same way I am trying to make an sound alert by system when P1 incident will be logged for my group.

If it's possible in servicenow can anyone help me to how to proceed ?

 

Thanks and Regards,

Evan

5 REPLIES 5

johnnyd54
Giga Expert

I believe the only way a sound can be triggered is by a client side action. I don't think it can be triggered by a server side action but I'd be interested if you can figure it out.

One thing we've done is have an audio alert played when a child incident is added and a user is in the parent incident. This is how we set it up.

 

1. Add the sound file you want to the Audio Files table.

2. From a client script that runs when the Child Incident count field changes,

 

var sound = new Audio("{Name of File}");
sound.play();

Sayali Anil Udg
Kilo Contributor

Hi Evan,

 

For audio notification for P1 incident you have to write client script like below:

 

if(g_form.getValue('priority') == '1')
{


alert('incident with priority 1');
var sound = new Audio("connect_alert.mp3");
sound.play();

}

Hi Sayali,

 

This will not work on server side. This script is limited to when the user opens the P1 incident record only in form view.

 

My requirement is it should alert proactively so that it can be acted as soon as possible. 

For this you can assume a similar examples like - when we get new emails we have a beep sound or some sound alert from our system. In the same way I am trying to make an sound alert by system when P1 incident will be logged for my group.

 

Regards,

Evan

Hi Sayali,

Above was an useful post. But I am not sure of what type of client script to be used for this audio notification. Also, I would like to know how to add users who need to hear the audio.

thanks.