Create a push application record for your custom app
Register your customized mobile application with your instance to receive push notifications for the application.
Before you begin
Complete the following:
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
Push notifications are application-specific: They are sent to one type of mobile application, regardless of how many users have this application installed. If you develop your own mobile application, you must configure it for use by creating a record for it in the Push Application [sys_push_application] table. By default, ServiceNow mobile applications are automatically set up and ready to use.
Procedure
Navigate to All > System Notification > Push > Push Application, and then click New.
On the form, fill in the fields.
| Field | Description |
|---|---|
| Display Name | Name of the push application. |
| Name | Database name of the push application. Enter a name that doesn't include spaces. |
| Push | Type of push service to enable for the application. Because you're setting up a custom push app, select Direct. |
| Feedback | Type of push feedback to use for the application. Because custom push apps don't receive push feedback, select None. |
| Apple | |
| Certificate | The X.509 certificate that you created on the Apple notifications portal. The certificate enables a device to talk to the APNs. |
| Sandbox Certificate | Sandbox certificate that you created on the Apple notifications portal. The certificate enable a device to talk to the APNs. |
| APNS Bundle Id | Bundle ID included in the certificate that you created on the Apple notifications portal. The system populates this field automatically after you specify a certificate. |
| API key | FCM API key you obtained from Google for the Android push notification. |
- Click Submit.
What to do next
Create push message content that contains the JSON content in the push notification payload.
In the Push Default Registrations related list, you can select the notifications that you want automatically subscribed to users who use this application. Users are subscribed to only active notifications.