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

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間: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
    4. [更新] を選択します。