Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Create a push message attribute definition

Push message attribute definitions allow you to create reusable properties for push message content specification.

Before you begin

  1. Activate push notifications
  2. (iOS only) Upload a push certificate to your instance
  3. Create a push application record for your custom app
  4. Create push message content

Role required: admin or push_admin

Note: This process describes configuration used in the ServiceNow mobile app. Push Notification configuration for the current ServiceNow mobile UI can be found at Mobile push notifications

About this task

Use an attribute definition to specify a default push action script or string that you can then use in the push message content.

You can override these attributes by creating any push message attribute values.

Procedure

  1. Navigate to All > System Notification > Push > Push Message Content.

  2. Select a content record or script record.

  3. In the Push Message Attribute Definitions related list, click New.

  4. Fill out the fields on the form (see table).

  5. Click Submit.

FieldDescription
Attribute NameEnter a descriptive name for the layout.
Attribute TypeSelect the type of attribute:- Action: An action to take on the instance, as defined by a script. - String: An arbitrary string to send as part of the message content. The string can specify items like a button label in the message.
Default ScriptSelect the mobile action script that tells the instance what to do when it receives a response from the push notification. This option appears if you select Action for the Type.
Default ValueSpecify an arbitrary string value to be placed in the attribute that is used by the message content. For example, the string could specify a button label. This option appears if you select String for the Type.

What to do next

If you want to override default attribute definitions, see Create an attribute value or action for a push message.