---
sourceDocument: Xanadu IT Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/ja-JP/xanadu/it-service-management

 Release :

    - xanadu

ft:locale :

    - ja-JP

ft:publication_title :

    - Xanadu IT Service Management

ft:clusterId :

    - itsm

bundleId :

    - itsm

workflow :

    - Technology


---

# 重要なアラートの着信音の構成

# 重要なアラートの着信音の構成 {#ariaid-title1}

* リリースバージョン: Xanadu
* 
* 更新日 2024年08月01日
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 所要時間：2分

ITSM モバイルエージェントアプリケーションで重要な通知に使用する優先着信音を選択します。

## 始める前に

必要なロール：admin

## 手順

1. \[すべて\]\[システム定義\]\[スクリプトインクルード\]に移動します。
2. スクリプトのリストから CriticalPushPayloadBuilder を検索して選択します。  
   選択したスクリプト CriticalPushPayloadBuilder が \[ITSM モバイルエージェント\] のアプリケーションスコープ内にあることを確認します。
3. CriticalPushPayloadBuilder レコードを開き、優先着信音名でスクリプトを編集します。  

       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'
       };

   以下のオプションから着信音を選択できます。
   * 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. \[更新\] を選択します。

