logo

NJP

Subscribe/Unsubscribe Push notification from mobile

Import · Feb 18, 2022 · article

Subscribe/Unsubscribe Push notification from Mobile app

In the Mobile app we have notification preferences under setting to toggle on or off. This article will provide a way to subscribe and unsubscribe individual push notifications.

Create Two List Applets

One for subscribed and one for unsubscribed, add data items by querying the cmn_notif_message table.

List Applet

image

Data Item : Tweak the condition to show only nowmobile or agent using device field

image

Add Swipe Actions

Create Write back action: Create Action Item

imageimage

Add to the function:

image

Add the applets to your applet launcher and should be good to work.

Result:

image.

image

image

image

Thanks

View original source

https://www.servicenow.com/community/mobile-apps-platform-articles/subscribe-unsubscribe-push-notification-from-mobile/ta-p/2301069