Using connect chat on NOW mobile appSummaryThere may be users who want to use connect chat feature on the NOW mobile app. This article explains how to configure connect chat on NOW mobile app.InstructionsThere are two parts in configuring the connect chat on NOW mobile app.A. Creating a URL applet andB. Configuring Push Notifications for the Applet A. Creating a URL applet:1. Follow the instructions as mentioned in the Product documentation : Configure a URL applet2. In the URL field enter $c.do 3. Once the applet is created, add it to a section in any of the Applet Launcher pages.B. Push Notification configuration:Below is the sample setup that can be used to configure the Push Notifications for the connect chat messages in the NOW mobile app. This shows a push notification when there is a new message. It will not provide the badge/unread count. However, when the app is opened, the notification tab will have an unread notification badge, but this includes all notifications not just chat notifications. 1. Create a Push Message Content (sys_push_notif_msg_content) with the following script. (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, "priority"); var json = {}; var deepLinkGenerator = new global.MobileDeepLinkGenerator("Request"); var link = deepLinkGenerator.getScreenLink('<sys_id of the URL applet>'); json = { "aps" : { "sound" : "default" }, "Link": link, "Layout" : { // "Status": "status", // "Identifier" : "identifier", // "Description" : "description" } }; return json; })(current, message, attributes); 2. Create a Push Message (sys_push_notif_msg.do) - In the Push app, select "ServiceNow Request Application" - In the Push Message Content field select the Message content created in step 1.- Add a comment in the "Message" field. That way, there won't be any blank notification. 3. Add the Push message to the Notification. - Open the existing "ConnectMessagePushNotification" record /sysevent_email_action.do?sys_id=38c4a3725331020023c817aaedc587c3 - Under "What it will contain" section, in the Push Messages field, select the Push message created in step 2. Related LinksApplet launcher UI sections Mobile push notifications Set up push notifications for mobile apps