---
sourceDocument: Xanadu ServiceNow AI Platform Administration
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/platform-administration

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Create a push message attribute definition

# Create a push message attribute definition {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

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

## Before you begin

1. [Activate push notifications](https://servicenow-prod.fluidtopics.net/fPbiPvA0orzM4ShlqpnZ4Q "Several plugins must be activated to use push notifications. If you have the Mobile UI (com.glide.ui.m) plugin active, push notification plugins are automatically activated.")
2. (iOS only) [Upload a push certificate to your instance](https://servicenow-prod.fluidtopics.net/lU0_F2BiLNTXEWj8SZvB8A "Upload a push certificate to your instance so that you can use it later to connect your iOS device to the push notification system.")
3. [Create a push application record for your custom app](https://servicenow-prod.fluidtopics.net/Uasca9pJX3foHO5a5gEApw "Register your customized mobile application with your instance to receive push notifications for the application.")
4. [Create push message content](https://servicenow-prod.fluidtopics.net/tQgkGu7bKXir9hT62A_u4w "Push message content specifies additional JSON content in the push notification payload that is sent to the push provider.")
{#t_CreateAPushMessageAttribute__ol_a5d_cpb_sjb}

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](https://www.servicenow.com/docs/access?context=sg-mobile-push-notifications&version=xanadu&pubname=xanadu-mobile&ft:locale=en-US)

## 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](https://servicenow-prod.fluidtopics.net/CYoFV1rVr5BlxWYwvAaScQ "Attribute values are associated with push messages to provide a way for the message to include certain types of information in the push notification.").

## Procedure

1. Navigate to AllSystem NotificationPushPush 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.  
   {#t_CreateAPushMessageAttribute__table_wdd_2rs_ks__entry__2}

   | Field | Description |
   |-|-|
   | Attribute Name | Enter a descriptive name for the layout. |
   | Attribute Type | Select 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. {#t_CreateAPushMessageAttribute__ul_yvq_2xl_ss} |
   | Default Script | Select 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 Value | Specify 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. |
   [Table 1. Push Message Attribute Definition form fields]

   {#t_CreateAPushMessageAttribute__table_wdd_2rs_ks}
{#t_CreateAPushMessageAttribute__steps_u4m_cwl_ss}

## What to do next

If you want to override default attribute definitions, see [Create an attribute value or action for a push message](https://servicenow-prod.fluidtopics.net/CYoFV1rVr5BlxWYwvAaScQ "Attribute values are associated with push messages to provide a way for the message to include certain types of information in the push notification.").

*[\>]: and then


