Still True When the Signal Comes Back
Work captured with no signal was right when it was taken. By the time the phone reconnects, someone else may have rejected the transfer, marked the generator damaged or already sent the same entry. The AWRA app can ask the server about every queued item before it syncs, and offers a way to settle each one that has changed.
At ten in the morning the storekeeper at a distributor’s depot outside Mbeya lost signal, as she does most days when the trucks are loading. By three o’clock her phone held eleven queued items: a generator checked out to the night guard, a stock transfer from Dar es Salaam she approved for TZS 6.8 million of fertiliser, two adjustment decisions, and seven deliveries checked in. Every one of them was right when she recorded it. In Dar, meanwhile, the operations manager had rejected that same transfer on the web, and a mechanic had marked the generator damaged.
Offline capture has a problem that has nothing to do with connectivity. A queued item is a decision taken against the world as it stood at the moment of capture, and the world does not wait. The usual answers, which we described in general terms in how offline sync works, are both bad: replay everything and let the server refuse what it must, so the storekeeper finds out one failure at a time after the fact; or replay everything and let the last write win, so a rejected transfer is quietly approved by a phone that never heard about the rejection.
The AWRA app takes a third route. Before it syncs, it can ask.
Check first
The offline queue screen carries a Check first button beside Sync now whenever the phone is online and anything is queued or has failed. It sends the server a short question about every item, and the server answers each one against what it holds right now. Nothing is applied by the check. If everything still stands, the answer is “Nothing has changed: everything queued still applies the way it was taken.” If not, the app reports how many items need a look and marks each one with what changed, under a line that begins Before syncing.
| What is asked | Of which items | What a changed answer says |
|---|---|---|
| Has this already been applied? | Every item, by the key it was queued with | It was already applied, and replaying it would return the first result and change nothing |
| Was this key used for different work? | Every item | Replaying it would be refused; discard and redo it |
| Does the offline policy still allow it? | Every item | This kind of work may not be done offline, or it has waited longer than your organization allows |
| Can the asset still take this movement? | Asset movements | The reason it cannot, from the same rule the web uses |
| Is the record still there? | Decisions on stock transfers, adjustments and invoices | It was deleted after the work was queued |
An item can fail more than one question. The screen shows the worst answer first, so a refusal by policy is not hidden behind a note that the item was already applied. The asset question is answered by the same rule that decides which movement buttons the web shows on an asset, so a phone and a browser cannot disagree about whether a damaged generator can be checked out. They both say it cannot, and they both say why.
The check is a courtesy, not the guard
Every endpoint that applies a queued item still checks for itself when the item arrives. Asking first changes when the storekeeper finds out, before the sync rather than after it. It does not change what the server will accept.
Three ways to settle a changed item
Each marked item carries the ways it can be settled, and only those. The server decides the list, so the phone never offers a resolution the server would refuse.
-
Retry with current
Opens the item to be taken again against what is there now. The storekeeper sees the generator is damaged and records something else, or nothing.
-
Discard
Drops the queued copy, and asks why: already recorded on the server, the record it refers to is gone, someone else handled it, captured in error, no longer needed, or another reason with a note.
-
Send as captured
Sends the item as it was taken, past the hold. Offered only where the server can still apply it safely, such as work that waited longer than the policy allows, and accepted only from someone who holds the device trust permission. Anyone else is refused, and the refusal is shown as the reason.
Every resolution is written down before the phone acts on it, on the same offline operations ledger the web’s Offline Operations page reads, and in the audit log as “Resolved an offline conflict by discard” with the person, the item and the time. When the manager in Dar asks why the transfer approval never arrived, the answer is not “the phone lost it”. It is a line saying the storekeeper discarded it at 15:42 because someone else had handled it.
A queued item is a decision taken against yesterday’s world. The useful question is not whether it can be sent, but whether it is still true.
From the asset’s side
The queue screen answers the question from the queue’s end: what is wrong with item seven. Standing next to the equipment, the question is different: is what I recorded about this generator still true? When an asset has queued work on the phone, its page in the app shows a card that opens a comparison for that asset alone. It fetches the asset fresh, never from the cached copy, and lays where the asset stood when each movement was captured beside where the server says it stands now, field by field.
The comparison is deliberately against where the asset was, not where the movement sends it. A check-out to the night guard differs from the current custodian by design; what matters is whether the generator moved underneath the capture. Each queued movement is marked No change, Review or Cannot sync, and items queued by an older version of the app, before it started recording where the asset stood, say that they have no starting point rather than inventing one. How long a phone may keep working before any of this is asked is a separate setting, covered in how long a phone may work without asking.
What AWRA OpsHub does today
- A Check first button on the offline queue that asks the server about every queued or failed item before syncing.
- Five questions answered by the server: already applied, key reused, offline policy, whether an asset can still take the movement, and whether a record was deleted.
- The worst answer shown first on each item, under a Before syncing line.
- Retry with current, Discard and Send as captured, offered per item from the server’s own list, with Send as captured limited to the device trust permission.
- Every resolution recorded on the offline operations ledger and in the audit log, with a reason for every discard.
- An asset-side comparison of where each asset stood at capture against where it stands now.
More we can add to your workspace
- A shelf-quantity check on the queue screen for queued counts and transfers: the server already answers “it was 40, it is now 34”, and the queue screen is next to ask it. Commission it
- An automatic check before every sync, so the button becomes a setting rather than a habit. Commission it
- A per-person report of resolved conflicts on the web, filterable by resolution and by reason. Commission it
- A side-by-side comparison for stock transfers, like the one assets already have. Commission it
Where we point you to a specialist
- Whether a rejected transfer should be redone, or a discarded count recounted, is a decision for your stores team. The app shows what changed and records what was decided; it does not choose for them.
The shelf-quantity check is the next step, because the server half is already answering.
Offline work your controllers can trust
Asking before syncing is in the app today. These are the extensions operations teams with long offline days ask for.
Shelf quantities on the queue screen
A queued count marked when the shelf has moved since it was counted, with the two figures side by side.
Check before every sync
A workspace setting that asks first automatically, so nobody has to remember the button.
A resolutions report
Who discarded, retried or sent as captured, over a month, by depot and by reason.
Three questions for any offline app
What happens to an approval queued on a phone after someone rejects the same item on the web?
What you will probably hear
The latest one wins.
How to read it
Then a phone that never heard about the rejection can overturn it.
Can the person see what changed before the sync, or only after?
What you will probably hear
Failed items show an error.
How to read it
Then every conflict is found one refusal at a time, after the fact.
When someone discards queued work, where is that written down?
What you will probably hear
It is removed from the phone.
How to read it
Then nobody can later tell a lost entry from a deliberate one.
Verdict
Offline capture is only half of offline work. The other half is the moment the signal comes back, and whether the person holding the phone learns what changed before their queue lands on top of it. Ask before you sync, settle each changed item in one of three ways, and keep the reason. The mobile offline operations page lists what the app can queue.
See the offline operations centre
Queued work, conflicts, device trust and the offline policy, in one place on the web and in the app.
Explore offline operationsFrequently asked questions
Does Check first send my queued work?
No. It only asks the server whether each queued item still applies. Nothing is changed until you sync.
What does Send as captured do?
It sends a queued item as it was taken, past the hold the check raised. It is offered only where the server can still apply the item safely, and only someone with the device trust permission can use it.
Why does the app ask why I am discarding something?
So a deliberate discard can be told apart from lost work later. The reason is recorded with your name and the time.
Does the server still check items when they sync?
Yes. Every endpoint that applies queued work checks it again on arrival. Asking first only means you find out before syncing instead of after.
Which queued items can be checked?
Every item is checked for being already applied and against the offline policy. Asset movements are also checked against the asset as it stands now, and decisions on stock transfers, adjustments and invoices are checked for a deleted record.