- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2017 04:51 AM
Hi all,
I have so far been unable to get a custom push notification sent through our development instance. I am trying to send it to my iPhone 6 iOS 10.2.1. I have activated the relevant Mobile UI and Push Notification plugins. I know for a fact the connection is working because I have been able to successfully send a push notification for the Connect messaging client, I just can't get it to send my own custom notifications.
I have a notification set up on the Incident table, it sends a notification whenever a record is inserted and it is sent to the incident caller. The notification is firing correctly as I have tested via email notification. This notification is linked to Push Message Test Push Notification Message
--- Test Push Notification Message ---
Push app: ServiceNow Mobile Application
Push Message Content: Test Push Message Content
Message: Test message
--- Test Push Message Content ---
Push app: ServiceNow Mobile Application
Push Message Generation:
(function buildJSON(/*GlideRecord*/ current, /*String*/ message, /*Object*/ attributes) {
var json = {
"aps" : {
"sound" : "default"
},
"record" : {
"table" : current.getTableName(),
"sys_id" : current.sys_id
}
};
return json;
})(current, message, attributes);
This is not firing and I am unable to get any meaningful information from the glide.push.debug inside the syslog table.
Any ideas? Thanks in advance.
Sam
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2017 12:29 AM
Hi Erik,
Thanks for your response, it prompted me to look in the notification preferences and I found that the custom notifications I had created were not displaying under the ServiceNow Mobile Application header, so I clicked on the To subscribe to a new notification click here. option and manually added my notification to this list. It now works as expected.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2017 08:42 AM
I've found when creating a custom push notification, you have to go to Self-Service > My Notification Preferences and make sure that notification has been toggled under the ServiceNow Mobile Application column. If the toggle is grayed out, then the Push Notification isn't linked to the Email Notification (but looks like you have that setup fine and triggering). If you don't have that column, then make sure you've logged into the mobile app with the correct user and instance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2017 12:29 AM
Hi Erik,
Thanks for your response, it prompted me to look in the notification preferences and I found that the custom notifications I had created were not displaying under the ServiceNow Mobile Application header, so I clicked on the To subscribe to a new notification click here. option and manually added my notification to this list. It now works as expected.