---
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 action

# Create a push action {#ariaid-title1}

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

A push action is a server-side script that runs when the instance receives a response
to an actionable push message.

## Before you begin

Complete the following:

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.")
5. [Create a push message attribute definition](https://servicenow-prod.fluidtopics.net/CNPz233RBWtfsmVmw_Z8rw "Push message attribute definitions allow you to create reusable properties for push message content specification.")
6. [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.")
{#t_CreateAMobileActionScript__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

Create a push action to perform an action on the instance. For example, you might
have an actionable push message that lets the user approve a change request. The
action that handles the response should update the Approval
field on the relevant Change Request record.

You can use global variables or, optionally, current variables and parameters passed
through the [JSON
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.").

## Procedure

1. Navigate to AllSystem NotificationPushPush Action.
2. Fill in the form fields (see table).
3. Click Submit.  
   {#t_CreateAMobileActionScript__table_aaa_2rs_ks__entry__2}

   | Field | Description |
   |-|-|
   | Name | Enter a descriptive name for the action. |
   | Script | Enter the script. |
   [Table 1. Push Notification Action form fields]

   {#t_CreateAMobileActionScript__table_aaa_2rs_ks}
{#t_CreateAMobileActionScript__steps_flz_qgm_ns}

*[\>]: and then


