Warnton für kritische Warnungen konfigurieren
Wählen Sie in der Anwendung ITSM Mobile Agent einen bevorzugten Warnton für Ihre kritischen Benachrichtigungen aus.
Vorbereitungen
Erforderliche Rolle: Administrator
Prozedur
- Navigieren zu Alle > Systemdefinition > Skripteinbindungen.
-
Suchen und wählen Sie CriticalPushPayloadBuilder aus der Liste der Skripts.
Stellen Sie sicher, dass das ausgewählte Skript CriticalPushPayloadBuilder sich im Anwendungsbereich von ITSM Mobile Agent befindet.
-
Öffnen Sie den Datensatz CriticalPushPayloadBuilder, und bearbeiten Sie das Skript mit dem Namen Ihres bevorzugten Warntons:
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' };Sie können Warntöne aus den folgenden Optionen auswählen:- 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
- Wählen Sie Aktualisieren.