Set custom alert tones in ITSM Mobile Agent for incident priorities

task australia Updated Sep 10, 2026 1 min read set-alert-tones-incident-priority.md
Raw file servicenow.com

Set custom alert tones in ITSM Mobile Agent to distinguish between incidents with different priorities.

Before you begin

Role required: admin

Procedure

  1. Navigate to All > System Notification > Push Message Content.

    Alternatively, navigate to the Push Notification Message Content [sys_push_notif_msg_content] table.

  2. Select the required push notification message content record.

  3. Update the Push Message Generation field with the following script.

    JavaScript
    // get the priority of current incidentvar currentIncPriority =  current.getValue("priority");// define an array to map priority with ringtonevar customisedRingtones = [      {            "priority": "1",            "ringtone": "default"        },        {            "priority": "2",            "ringtone": "default"        },        {            "priority": "3",            "ringtone": "default"        },        {            "priority": "4",            "ringtone": "default"        },        {            "priority": "5",            "ringtone": "default"        }];//override the json["aps"]["sound"] param with the ringtone defined for current priority                if(customisedRingtones){            for(var i=0;i<customisedRingtones.length;i++){               if(customisedRingtones[i].priority && customisedRingtones[i].priority === currentIncPriority){               json["aps"]["sound"] = customisedRingtones[i].ringtone;                break;               }            }        }

    Note: In the script, replace each default ringtone value with the name of the alert tone to use. For a list of available ringtones and alert tones, see Configure sounds for push notifications.

  4. Select Update.

Search documentation
Search document titles and file paths on the australia branch