Configure scheduled offline caching

  • Release version: Australia
  • Updated June 9, 2026
  • 2 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Configure scheduled offline caching

    This configuration enables field technicians using ServiceNow mobile applications to receive scheduled updates to their offline data cache based on their work schedules. Scheduled offline caching ensures that technicians have up-to-date data available even when they are offline, improving efficiency and data accuracy during their workday.

    Show full answer Show less

    Key Features

    • Agent Schedule Plugin Activation: To use scheduled offline caching, you must activate the Agent Schedule plugin (com.snc.agentschedule).
    • Work Schedule Creation: Create work schedules for agents or technicians in the Agent Work Schedules table. This drives when offline caches are generated and pushed to users.
    • Offline Download Schedule: For mobile clients other than Mobile Agent, ensure an entry exists in the offline download schedule (syssgofflinedownloadschedule) table for the client type. Mobile Agent automatically creates this entry upon plugin activation.
    • Background Scheduled Jobs: The system runs jobs that populate the Agent Daily Schedules table based on work schedules and generate offline cache payloads accordingly.
    • Silent Push Notifications: Agents receive silent push notifications during their scheduled workday to update their offline cache seamlessly.
    • Event Tracking: Offline payload generation and delivery events are recorded in the Events (sysevent) table, allowing monitoring of cache updates.
    • System Properties for Customization: Several system properties control offline caching behavior, including enabling scheduled downloads, timing offsets for payload generation and reminders, cache refresh frequency, and attachment storage limits.

    Scheduled Jobs Related to Offline Caching

    • Populate Agents Daily Schedule Table: Runs daily to update schedules for users with background downloading enabled.
    • Scheduled Download of Offline Payload: Generates events to create and send the first offline payload of the day to users.

    Practical Considerations for ServiceNow Customers

    • Activate the Agent Schedule plugin to gain access to scheduled offline caching capabilities.
    • Define accurate work schedules for your agents or technicians to ensure offline data is updated at appropriate times.
    • Ensure users enable background downloading in their mobile app settings to participate in scheduled offline caching.
    • Customize system properties to align offline cache generation and reminders with your business needs and user workflows.
    • Monitor events in the system to track offline cache generation and troubleshoot any delivery issues.
    • Follow general scheduling guidelines to optimize user experience and ensure timely data availability.

    Configure offline caching so your field technicians can receive scheduled updates to their offline data cache. Scheduled downloads are based on the user's work schedule.

    Activate the Agent Schedule plugin

    To enable and configure scheduled offline caching, the Agent Schedule plugin [com.snc.agent_schedule] must be activated. For details on plugin activation, see Activate a plugin.

    Create work schedules for offline caching

    For mobile clients other than Mobile Agent, verify that an entry in offline download schedule (sys_sg_offline_download_schedule) exists for the client type, for example, Request. This entry specifies the table that has the offline download schedules for the agents or technicians. Mobile uses the schedule from this table for scheduling offline cache generation. To populate schedules for each user, a scheduler script can be used like in Field Service Mobile.

    For the Mobile Agent app, the entry is created when the plugin is activated. After activating the plugin, you must create work schedules for the agents or technicians to enable users to automatically receive scheduled offline caches. This can be done directly through the Agent Work Schedules [agent_work_schedule] table. For more information on how to create schedules through this table, see Create a work schedule for an agent or technician.

    Based on the records from the Agent Work Schedules table, your instance runs background scheduled jobs that create schedules in the Agent Daily Schedules [agent_daily_schedule] table. Within these schedules, agents will receive a silent push sometime throughout their scheduled day.

    The offline payloads that your instance generates are based on the times recorded in the Agent Daily Schedules. These can be found in the Events [sysevent] table. Use the records in the Event table to track these payloads, and info about when they are created and when they are sent to the agents.

    Scheduled Jobs associated with offline caching

    These scheduled jobs are automatically scheduled for only users who enable background downloading on their app. For information on how users can enable this feature, see Offline mode for mobile.

    Populate Agents Daily Schedule Table
    This job runs once daily for all users with background downloading set to true.
    Scheduled Download of Offline Payload
    This job creates an event for the first payload of the day in the [mobile_offline_payload_gen_queue] table.

    Offline scheduling system properties

    Use the following properties on the System Properties [sys_properties] table to configure scheduled offline caching.

    Table 1. Offline scheduling system properties
    Property Description
    glide.sg.offline.scheduled_download.enabled

    Enables scheduled downloading for all Mobile Agent app users.

    glide.sg.offline.scheduled_download.cachesync_offset Defines the number of minutes before the user's scheduled time that the instance begins generating the offline payload.
    glide.sg.offline.scheduled_download.reminder_offset Define the number of minutes before the user's scheduled offline time that a reminder is sent to download the cache manually.
    glide.sg.offline_payload.refresh_frequency Define a fixed interval between the initial scheduled cache download and when the cache should be refreshed.
    glide.sg.offline.attachment.max_total_bytes Defines the total amount of storage the offline cache can use for attachments in bytes.

    For information on other related offline system properties, see System properties in offline mode.