{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":35036,"path":"mobile/offline-input-form.md","title":"Input forms in offline","bundle":null,"doc_type":null,"release":"australia","body":"\n# Input forms in offline\n\nInput form screens in offline mode support viewing, editing, and creating records without network connectivity. The ServiceNow apps use locally cached data to display forms, populate fields, and apply form logic, so users can continue working without interruption. Well-designed offline input forms, reduce rework and minimize sync conflicts.\n\nInput forms opened while offline can load data captured online if it is included in the offline cache. Users can modify cached data while offline, and their changes are stored locally until synchronization. Offline forms support save progress, input actions, and descriptive elements. All operations, creating, editing, and deleting are queued in the outbox and automatically synced with the instance once connectivity is restored.\n\nFor information about input forms, see [Input form screen](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/mobile/parameter-input-screen.md).\n\n## Supported input types\n\nOffline input forms support a predefined set of input types that rely on locally cached data. Supported types include\n\n-   String\n-   Number\n-   Boolean\n-   Date / Time\n-   Choice\n-   Reference\n-   Attachment\n-   Barcode\n\nCertain input types, such as custom map, signature, and screen aren't supported offline. Unsupported fields remain visible in a read-only or inactive state depending on configuration.\n\n## Reference input behavior\n\nReference inputs in offline mode display and resolve data from the local cache, enabling users to select and view reference values without connectivity. Users can search and choose from locally available records. When the required data is not cached, the reference field returns no results.\n\nThe number of available reference choices is limited to 1,000 records, with administrators determining which records are downloaded and made available offline. This allows for fine control over which references are preloaded based on business needs, such as user roles, assigned location, or active status.\n\nFor more information, see [Reference field attributes for input form screens in offline mode](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/mobile/reference-fields-offline-attributes.md).\n\n**Note:**\n\nDynamic reference qualifiers or filters that depend on real-time server queries aren't supported offline.\n\nThe 1,000-record cap applies per reference input, not per screen. If multiple reference inputs point to the same table across one or more screens, each input contributes its own slice of up to 1,000 records. These slices are merged and deduplicated on the device, meaning the total records stored for a single table can significantly exceed 1,000. Plan for increased device storage and longer initial sync times when multiple inputs share the same target table.\n\n## Auto-fill form inputs and input actions\n\nInput form fields and input actions can be automatically populated with data downloaded from the instance using data sources configured in the mobile app. The same data source configuration applies to both online and offline modes. For more information, see [Data sources](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/mobile/data-sources.md).\n\nWhen the device is online, the data source retrieves information directly from the instance. When the device is offline, the same data source continues to function using locally cached data downloaded as part of the offline payload. This allows fields to auto-fill with relevant values even without network connectivity.\n\n-   **Example**\n\n    If a form uses a data source to populate the Location field based on the selected work order, the same data source logic is applied in offline mode, provided that the work order and location tables were included in the offline payload.\n\n\n## Save progress in offline mode\n\nUsers can manually save in-progress forms while offline using the **Save** button in the top navigation bar. This action stores the current state of the input form locally on the device without submitting it to the server. Saved forms can later be resumed, edited, or submitted once connectivity is restored. For more information, see [Configure input form screen actions](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/mobile/input-form-screen-actions-config.md).\n\nThe same button configuration used for saving progress in online mode also applies in offline mode, and no additional configuration is required. When the form is offline, the Save button performs a local save instead of a server submission, ensuring that user input is preserved. To support this behavior, the local save for the offline step type is part of the writeback action steps. This step type defines how the platform handles local persistence of form data in offline mode. For more information, see [Configure action items and action steps in offline mode](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/mobile/configure-action-item-offline.md).\n\nWhether online or offline, the Save button behaves according to the same definition, with the platform determining where data is stored, either locally or on the server, based on connectivity state.\n\n## Save and submit actions sync behavior\n\nWhen users create, update, or delete a record offline, each action generates an outbox item. The outbox acts as a temporary queue that holds pending changes until connectivity is restored. Once online, the system automatically synchronizes outbox items to the instance in the order they were performed. If conflicts occur during synchronization, the system marks the item as failed, allowing users to retry or resolve the issue. For example, when the record was modified on the server while the user was offline.\n\n## Consolidation of outbox items\n\nBy default, when users perform multiple actions while offline,such as tapping Save or Submit, each function of type action item generates its own dedicated outbox item. Each action is stored separately in the outbox and synchronized individually when connectivity is restored. For more information, see [Configure an action function](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/mobile/sg-studio-config-action-function.md).\n\nMobile apps can be configured to consolidate consecutive outbox items created by the same form or screen into a single, merged entry. This configuration applies to both the Save and Submit buttons and helps reduce duplication, optimize synchronization, and maintains a cleaner outbox.\n\nWhen consolidation is enabled, the following takes place:\n\n-   Multiple consecutive actions of the same button and record context are merged into one outbox item. For example, multiple saves of the same form for the same record.\n-   The most recent state of the record is retained, ensuring that only the final user input is synced.\n\n## Attachments in offline mobile forms\n\nOffline mobile forms support attachments added through both the attachment input type and attachment input actions while offline. This allows users to capture and manage files such as images, documents, or videos without connectivity. Attachments previously added while online can also be preloaded into the form when included in the offline payload, as defined in the data source configuration, enabling users to view or reference existing attachments even when working offline.\n\nAttachments added while offline are stored locally on the device and automatically queued in the outbox for synchronization once connectivity is restored.\n\n**Note:** By default, attachments queued in the outbox aren't reflected in the activity stream of the record while the user is offline. For example, when working on a mobile form whose context is *INC123456*, submitting the form will not immediately display the newly added attachment in the activity stream tab of that record. To add attachments to the activity stream of the record while offline, configure the writeback action offline step to reflect added attachments in the record activity stream. This conforms that the attachment appears in the activity stream immediately, even before the device reconnects and synchronizes with the instance.\n\nFor more information, see [Using action items and action item steps in ofﬂine mode](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/mobile/offline-action-item-steps.md).\n\n## Descriptive elements in offline mobile forms\n\nDescriptive elements provide instructional or contextual information within an input form screen, helping users understand what is expected of them. Offline input forms support descriptive elements such as images, rich text, and plain text. These elements can be automatically populated with data downloaded from the instance through data sources configured in the mobile app. The same data source configuration is used for both online and offline modes, so no separate data source for offline use is required. For more information, see [Configure descriptive elements for input form screens](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/mobile/descriptive-elements-script.md).\n\n-   **[Configure reference inputs for input form screens in offline mode](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/mobile/reference-fields-offline-mode.md)**  \nConfigure reference inputs so that users can see a list of records in offline mode on their Mobile Agent.\n-   **[Associate input form attachments to the activity stream in offline](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/mobile/input-form-attach-activity-stream.md)**  \nAttachments added through input forms aren't displayed in the record activity stream by default, when working offline. Configure the write-back action step to associate attachments with the activity stream, so they appear immediately alongside other record updates.\n-   **[Reference field attributes for input form screens in offline mode](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/mobile/reference-fields-offline-attributes.md)**  \nConfigure the fields that you want to use and the data you want to display in offline mode by using various input attributes.\n\n**Parent Topic:**[Offline mode setup options](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/mobile/offline-setup-options.md)\n\n"}}