- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2022 10:47 PM
As noted in the title, I have a personal developer instance spun up via developer.servicenow.com. This instance I am using as a testing ground for various ideas and concepts, and right now I'm attempting to tackle the new mobile app's configurations.
This is my first time actually diving into the new mobile app, not limited to push notifications but the entire product as a whole, so I could be very well overlooking something. Everything I've done has just been completed via reverse engineering / reading the articles.
Current Problem: I've been working on getting push notifications to function for the Now Mobile app but have been unsuccessful. This is in a personal developer instance environment.
I've been following this documentation, supplemented with other articles and instructions found online as well, such as the MobileDeepLinkGenerator - Global, Mobile push notifications. I'm aware some of these links are not Rome, but from what I've compared, the documentation is the same.
A summary of what I've configured:
- My applet (Screen) is created as a Details screen class. I have the proper table and the defined Screen fields created.
- My Push Message Content is configured with the fields defined on the table, and the app is directing to the ServiceNow Request Application, which is noted to be the app if using the Now Mobile (mobile app). I've also validated the sys_id in the deepLinkGenerator is 100% accurate.
- The Push Notification Message is configured to leverage the ServiceNow Request Application, and is pulling the specified Push Message Content.
- The Push Message itself is configured to the proper table and associated with the Push Notification Message. In addition, I've validated the When to send and Who will receive work because I was able to successfully test this via email and receive the basic email notification when expected.
- The Registration of the Notification has been set up as stated in the documentation, as does the Push Message Content show up in the first tab on this image below.
Additional Troubleshooting
- Validated the Push Notification Installation has only one entry for the user (myself).
- Attempted to delete record here and uninstall app, reinstall app and validated new entry came in.
- Tweaked with variations in the coding for the Push Message Content (such as replacing .getTableName() with current.sys_class_name on the var boss and var status lines, and other code tweaks).
- I've validated the Notifications in the user settings within ServiceNow are not disabled.
- I've validated the push notifications on my personal phone are not disabled and allowing all types (banners, sounds, badges).
- Nothing shows up in the Push Notification logs.
I'm currently testing with an apple device, and I wonder if maybe that has something to do with it. Or if there is some stop that my personal developer instance has that I am unaware of.. I've attempted to find other articles online around this issue but did not find any solutions based on what I had read unfortunately.
Solved! Go to Solution.
- Labels:
-
Mobile app configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2022 12:57 PM
Hello Steven,
"Nothing shows up in the Push Notification logs." - Have you checked the Push job? https://instancename.service-now.com/sys_trigger_list.do?sysparm_query=name%3DPush
Nothing else about your configuration immediately stands out to me as being invalid, especially if you tested and received the notification via email without issue, so I would only think it's with the Push job itself. Mobile App Academy has a good Push Notification video if you wanted to check it out but having looked at what is provided, it seems you've hit all the bases.
- Set the job to 'Error' State.
- Save the record.
- Change the next action date to a future date and time (i.e. +2min).
- Save the record.
- Set the state to 'Ready'.
- Save the record.
Please mark my answer as correct/helpful if it has helped you.
Thanks,
Logan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2022 12:57 PM
Hello Steven,
"Nothing shows up in the Push Notification logs." - Have you checked the Push job? https://instancename.service-now.com/sys_trigger_list.do?sysparm_query=name%3DPush
Nothing else about your configuration immediately stands out to me as being invalid, especially if you tested and received the notification via email without issue, so I would only think it's with the Push job itself. Mobile App Academy has a good Push Notification video if you wanted to check it out but having looked at what is provided, it seems you've hit all the bases.
- Set the job to 'Error' State.
- Save the record.
- Change the next action date to a future date and time (i.e. +2min).
- Save the record.
- Set the state to 'Ready'.
- Save the record.
Please mark my answer as correct/helpful if it has helped you.
Thanks,
Logan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-02-2022 01:56 AM
Greetings Logan,
I appreciate you taking the time to read through it all. I was not aware of the Push Job, and I've executed the steps you recommended.
Your steps were the solution! BUT could you possibly explain briefly what this job does and/or what your steps did? I assume it was somewhat related to just refreshing the job?
I will definitely review that video, regardless I think it will give some extra foundation to the things I've picked up on / learned so far.