A technician takes a job into a basement with no signal. She finishes the repair, records a reading and takes two photos. Upstairs, the app has to send what she saved and check whether dispatch changed the job while she was working. That round trip is the part to design first.
What deals with an offline update
- Work screen Shows the job and pending changes
- Local queue Saves the reading and photos for later
- Sync service Retries using the same update identifier
- Dispatch record Accepts the update or asks for review
Define a job the device can carry
Before the technician leaves, download the assigned route, job instructions, contact details needed at the site, and the current checklist. Include an indicator for the time of the last download. Save notes and images locally when the technician adds them, so closing the app during a visit leaves the work available.
Start with an offline scope people can remember. A technician can add findings and complete a checklist. Keep changes that depend on shared availability, such as reassigning a vehicle or booking a part, online until the team has a way to handle conflicts.
Remove completed jobs from the device once the server has confirmed their updates and the technician no longer needs them on the route. An unsent report should stay visible in the queue.
Give each update a state
Label work as saved on device, sending, synced or needs attention. For a report with photos, show whether all files reached the server before treating it as complete. Retries should reuse the same update identifier, so a response lost in a tunnel leaves one report when the device sends again.
Suppose dispatch reassigned the basement job during the outage. The server can accept the technician’s reading as evidence and flag the completion status for the dispatcher. Keep the accepted evidence visible while the dispatcher resolves who should close the job.
Rehearse a poor connection on purpose
Download a route, switch off connectivity, finish two jobs, close the app and restart it before reconnecting. Then interrupt one photo upload mid-transfer. The technician should still see all their work, and dispatch should see exactly which job is waiting for an attachment or a decision.