Now Request app Push Notification content

Simon13
Tera Contributor

Hi,

I am creating a mobile app using San Diego Now Request App (not agent).  I have created a push notification to alert the caller when an incident is commented.  I can get the notification to send but cannot open the notification on the mobile device.  When the notification is tapped I receive an error, error opening URL.  Previously, I was receiving an error, there is no application able to open this link.  This was partly solved by installing the Now Agent app, but obvioiusly I do not want users to be requried to have this installed.

The message content is as follows: 

(function buildJSON(/*GlideRecord*/ current, /*String*/ message, /*Object*/ attributes) {

  var layoutFields = {"Identifier" : "number", "Description" : "short_description", "Status" : "state" };
  return new global.ActionablePushPayloadBuilder(current, "ebb94d9c0f2033001befa68ca8767e4e", layoutFields).buildJSON(); 
    //return new global.ActionablePushPayloadBuilder(current, "690c69e95310001068c3ddeeff7b1246", layoutFields).buildJSON();

})(current, message, attributes);

This is more or less the OTB message content.

Please can anyone advise how I configure thsi to open the incident in the Now Mobile (request) app.

 

Simon

5 REPLIES 5

Ivan Betev
Mega Sage
Mega Sage

Hi Simon,

can you try to do it with a standard (not actionable) notification?

Configure push notification message content

Please go through this article, it should help you to configure it right.

Regards, Ivan

wonas kadam
Kilo Contributor

Hello, Simon

The solution worked for me thanks to the community and the members for the solution.

MyHerbalife.com Login

 

Thanks

Simon13
Tera Contributor

Hi Ivan

Thanks for your reply.  I had read that article (several times!).  What I don't get, and is not really documented, is where to get the sysid of the screen for the linkgen from.

Regards

Simon

Hello Simon,

you need to go to App Navigator => Screens => Your screen (class Record Screen) and then copy sys_id.

find_real_file.png

Regards, Ivan