Create a push action
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:
- Activate push notifications
- (iOS only) Upload a push certificate to your instance
- Create a push application record for your custom app
- Create push message content
- Create a push message attribute definition
- Create an attribute value or action for a push message
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
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.
Procedure
Navigate to All > System Notification > Push > Push Action.
Fill in the form fields (see table).
Click Submit.
Field Description Name Enter a descriptive name for the action. Script Enter the script.