How does offline data synchronization work under the hood in the Salesforce Field Service mobile app, including the upload queue and sync errors?
Answer
The mobile app works from a local database on the device, so technicians can keep working with no signal.
Mechanism
- Priming: at login (and periodically) the app downloads the records the technician needs, such as appointments, Work Orders, Assets and Products, based on Briefcase Rules. These are stored locally.
- Working offline: reads come from the local store. Edits (status change, Products Consumed, Service Report, flow results) are saved locally and put in an upload queue.
- Sync: when connectivity returns, queued changes are sent to Salesforce in order, then the app pulls server-side changes (for example a new dispatch).
- Conflicts and errors: server rules still apply on upload. If a validation rule, required field, record lock or permission problem rejects a change, the app shows an error, and the technician or admin must correct or discard it.
Design implications
- Keep validation rules and triggers tolerant of delayed uploads.
- Keep the data set small for faster priming.
- Avoid features that need a live server call, such as direct Apex callouts, in offline flows.
- Test with airplane mode and with conflicting edits.
Offline SyncMobile AppBriefcaseSalesforce Field Service