No items found.

Usage Scenario: Offline Data Access and Update

Scenario 1: Field Worker Views and Updates Customer Information While Offline

  1. Data Download: When there is no internet connection, the field worker uses the Download Offline DB action to download the necessary customer data to their device.
    • ID Parameter: customer_data
  2. Data Viewing and Updating: While offline, the field worker views the downloaded customer information and makes updates as necessary. For example, they can enter a new phone number.
  3. Data Synchronisation: When an internet connection is established, the data in the local database on the device is synchronised with the server. This ensures that any changes made are sent to the server.

Scenario 2: User Updates Order Details While Offline

  1. Data Download: When there is no internet connection, the user downloads the order data to their device using the Download Offline DB action.
    • ID Parameter: order_details
  2. Data Viewing and Updating: While offline, the user views the order status and other details and makes updates. For example, they change the delivery address for a product.

Data Synchronisation: When an internet connection is established, the order information in the local database on the device is synchronised with the server. This ensures that all updates are sent to the server.