Want to stop redirecting push notification from Now Mobile to Mobile Agent Agent applet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2023 05:54 AM
We have successfully received the push notification on the Now mobile app but when we click on the notification for form view it redirects to the Mobile agent app applet. Could anyone please, resolve this issue to redirect to the Now Mobile app applet instead of the Mobile agent app applet? the blue one is: now mobile app and yellow is a: mobile agnet app
This is a now MobileNow Mobile app Mobile Agent app
This is a Mobile agent
- Labels:
-
Mobile Agent
-
Now Mobile
-
Push Notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2023 03:58 AM
Is it OOB Notification, can you share the Notification name?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2023 06:08 AM
It is a custom notification that is created for case approvals on the [sysapproval_approver] table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2023 02:16 AM
You may check your record in this table - sys_push_notif_msg_content
Is it pointing to Agent app?
var deepLinkGenerator = new global.MobileDeepLinkGenerator("Agent");
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2023 12:31 AM
(function buildJSON( /*GlideRecord*/ current, /*String*/ message, /*Object*/ attributes) {
var layoutFieldGenerator = new global.NotificationLayoutFieldGenerator();
var identifier = layoutFieldGenerator.layoutField(current.sys_class_name, current.sys_id, "number");
var description = layoutFieldGenerator.layoutField(current.sys_class_name, current.sys_id, "short_description");
var status = layoutFieldGenerator.layoutField(current.sys_class_name, current.sys_id, "state");
var json = {};
var deepLinkGenerator = new global.MobileDeepLinkGenerator("request");
// sys_sg_form_screen from this table copy the record screen sys_id and paste it.
var link = deepLinkGenerator.getFormScreenLink('63925cdddb487910943c4a281396194f', current.getTableName(), current.getValue("sys_id"));
json = {
"aps": {
"sound": "default"
},
"Link": link,
"Layout": {
"Status": status,
"Identifier": identifier,
"Description": description
}
};
return json;
})(current, message, attributes);
Now its show as a "Error loading url" when we click on that notification.