Create a push action

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 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

    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

    1. Navigate to All > System Notification > Push > Push Action.
    2. Fill in the form fields (see table).
    3. Click Submit.
      Table 1. Push Notification Action form fields
      Field Description
      Name Enter a descriptive name for the action.
      Script Enter the script.