Use the clientRefresh mobile property on your ServiceNow instance to turn on or turn off automatically refreshing your mobile apps. You can also use the clientRefresh property to adjust the scope of refresh on your mobile app.

Before you begin

Role required: admin

About this task

The clientRefresh mobile property is enabled by default on the ServiceNow platform server. Mobile apps that are managed by San Diego and later versions of the server instance automatically refresh after an end user runs action items that change data in records. The data change is immediately visible to the user. Users don't need to refresh their mobile apps. The New Update image no longer appears to prompt an app refresh when this feature is enabled. This feature causes no impact on mobile app performance. Mobile apps only refresh screens that have been previously visited. If you want to turn off this behavior, use the steps described in this task.

Mobile properties are configured as records in the sys_sg_properties table on the ServiceNow Platform server. The ServiceNow instance sends the mobile property to mobile apps after authentication. Then the property turns on or turns off a feature on the mobile app. The clientRefresh mobile property is configured using JSON scripts.

The clientRefresh property is a JSON object with two keys: isEnabled and refreshScope, which are described in the Mobile properties new record form.
Important: Starting with the San Diego release of the ServiceNow server, to turn off refreshing behavior, you must create a new clientRefresh JSON object and set the isEnabled key to false in the mobile property definition.

Procedure

  1. Navigate to All > sys_sg_properties.list.
    The Mobile Properties list appears.
  2. In the Mobile Properties list, select New.
    The Mobile Properties form appears.
  3. On the form, fill in the fields.
  4. Select Submit.

What to do next

After updating this property, the end user must pull to refresh and get the latest feature configurations.