Set your custom notifications as critical for ITSM Mobile Agent

Before you begin

Ensure that the custom notification is listed in the notification table.

Role required: admin

Procedure

  1. Navigate to All > System notification > Push > Push Notification and open the notification that you want to set as critical.
  2. In the selected notification record, select the What to send tab.
  3. Select the info icon (Info icon.) next to the Push message field and select Open record from the Push Notification Message pop-up message.
  4. Open the Push Notification Message Content table and paste the return new sn_itsm_mobile_agt.CriticalPushPayloadBuilder(current, json, attributes).buildJSON(); attribute in the Push Message Generation field.
  5. Create a new isCritical attribute with the attribute type as string.
  6. Set the default value for the property as False.
  7. In the Push Notification Message table, add the isCritical attribute, and set the value as true.