---
sourceDocument: Zurich IT Service Management
sourceDocumentLink: https://www.servicenow.com/docs/r/pt-BR/zurich/it-service-management

 Release :

    - zurich

ft:locale :

    - pt-BR

ft:publication_title :

    - Zurich IT Service Management

ft:clusterId :

    - itsm

bundleId :

    - itsm

workflow :

    - Technology


---

# Configurar um toque para alertas críticos

# Configurar um toque para alertas críticos {#ariaid-title1}

* Versão de lançamento: Zurich
* 
* Atualizado 31 de jul. de 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

Escolha um toque preferencial para suas notificações críticas na aplicação ITSM Mobile Agent.

## Antes de Iniciar

Função necessária: administrador

## Procedimento

1. Navegar até TudoDefinição do SistemaInclusões de script.
2. Pesquise e selecione CriticalPushPayloadBuilder na lista de scripts.  
   Certifique-se de que o script de CriticalPushPayloadBuilder selecionado esteja no escopo da aplicação ITSM Mobile Agent.
3. Abra o registro CriticalPushPayloadBuilder e edite o script com o nome do seu toque escolhido:  

       var CriticalPushPayloadBuilder = Class.create();
       CriticalPushPayloadBuilder.prototype = {
           initialize: function(currentGR, json, attributes) {
               this.currentGR = currentGR;
               this.json = json;
               this.attributes = attributes;
           },
           buildJSON: function() {
               if (this.attributes == null || this.attributes.isCritical == null || !(this.attributes.isCritical == "true"))
                   return this.json;
               this.json["sncGoogleKeys"] = {
                   "android": {
                       "priority": "high"
                   },
                   "priority": "high"
               };
               this.json["aps"]["sound"] = {
                   "critical": 1,
                   "name": "NotificationAlert-9-Short.caf",
                   "volume": 1
               };
               return this.json;
           },
           type: 'CriticalPushPayloadBuilder'
       };

   Você pode escolher entre as opções de toque abaixo:
   * NotificationAlert-1.caf
   * NotificationAlert-2.caf
   * NotificationAlert-3.caf
   * NotificationAlert-4.caf
   * NotificationAlert-5.caf
   * NotificationAlert-6.caf
   * NotificationAlert-7.caf
   * NotificationAlert-8.caf
   * NotificationAlert-9.caf
   * NotificationAlert-10.caf
   * NotificationAlert-11.caf
   * NotificationAlert-12.caf
   * NotificationAlert-13.caf
   * NotificationAlert-14.caf
   {#configure-a-customized-ringtone-for-critical-alerts__ul_fft_xpl_ccc}
4. Selecione Atualizar.

