← The Signal

Stop AI Workflows from Overwriting a Colleague’s Latest Changes

The assistant’s answer may be correct for the record it read—and wrong for the record that exists when it writes.

By · AI-assisted editorial · Method & corrections

Kooya’s mascot compares two record-version keys at a mechanical update gate. Conceptual illustration.FIELD NOTE / AI workflow concurrency stale writes Philippines
EXECUTIVE SIGNALS
  • Reading the latest record does not guarantee it remains current during model processing.
  • A version check belongs at the destination write boundary.
  • A conflict should trigger reassessment, not an unconditional overwrite.
  • Approval should cover the proposal that will actually be applied.
01

The gap between reading and writing is a business risk

Consider a hypothetical Philippine distributor. An assistant reads an order and prepares a revised delivery date. While the model is composing its explanation, a coordinator changes the destination and adds a customer instruction. The assistant then sends an update based on its earlier copy. Without a conflict check, the newer instruction could disappear or the proposed date could no longer make sense.

Kooya recommends treating the record read for a proposal as a specific snapshot, not a permanent truth. Save the record reference and the version supplied by the destination alongside the proposed change. The resulting review should make clear which information the assistant actually considered.

This guide concerns preventing a stale proposal from overwriting newer work. It differs from recovering an already incorrect action or deciding whether an uncertain request should be retried. Keeping those cases separate helps the operations team choose the right response instead of treating every failure as another attempt.

If an incorrect change has already happened, use our AI workflow recovery guide to plan the repair.

02

Make the destination enforce the condition

Microsoft Dataverse documents conditional operations using ETags, including optimistic concurrency to prevent overwriting changes made by others. It also warns that an ETag is opaque: applications should not infer meaning or chronological order from its value. Its wildcard If-Match option prevents creating a missing record; that is different from checking a specific version.[1]

Azure Cosmos DB provides another concrete implementation: the server changes an item’s ETag when it is updated and can reject a conditional write with HTTP 412 when the supplied version is no longer current. The application must request the relevant condition; merely having a version value in a log does not enforce it.[2]

Kooya’s buying question is therefore precise: show where the destination checks the proposal’s version while applying the write. A separate read followed by an unconditional update still leaves a gap in which another user can change the record. Ask the implementation team to demonstrate that gap in a test environment.

03

Define what happens when the record has changed

A conflict is useful information. It says the assumptions behind the pending proposal may no longer hold. For the distributor example, retrieve the current order and show the coordinator the relevant differences: destination, requested date and customer instructions. Avoid presenting a wall of unrelated fields that hides the decision.

Kooya recommends three explicit outcomes. Abandon a proposal that is no longer needed. Recalculate one whose inputs have changed. Escalate when a person must resolve competing commitments. Which route applies should depend on the business effect, not on the model’s confidence that it can write a plausible explanation.

Do not automatically attach the newest version to the old payload. That can turn a protective rejection into the very overwrite the check was designed to prevent. A refreshed version should accompany a proposal that has actually been reassessed against the refreshed record, with approval renewed where the commitment changes.

04

Keep the change narrow and the approval meaningful

Kooya recommends writing only the fields the workflow is authorised to change, while preserving relevant business constraints. A narrow update reduces accidental replacement of unrelated information, but does not remove the need to check dependencies. An unchanged delivery-date field can still become invalid after the address changes.

Define those dependencies before implementation. For a delivery promise, the relevant facts might include location, stock allocation and requested service. If they span several records or systems, one record’s version cannot be assumed to protect the whole decision. The team must explain the transaction boundary and how unresolved cross-system conditions reach an owner.

For human approval, show the current proposal and the evidence it relies on. If the customer commitment changes after approval, return it for the appropriate review. Keep both the superseded proposal and its replacement traceable without implying that an earlier approval authorises every later variation.

05

Test with two people, not just one successful run

A useful acceptance exercise lets one test operator pause the assistant after its read while a second changes the record. Then resume the assistant. The expected demonstration is a visible conflict and the agreed reassessment route—not a successful overwrite hidden behind a cheerful completion message.

Repeat with a deleted record, a change to a dependent field and a second edit during reassessment. Verify that the workflow has a bounded number of attempts and a clear handoff when the record keeps changing. Endless automatic retries can leave staff unsure which commitment is active.

Before launch, give operations a short explanation of the conflict message, the record to inspect and the person allowed to resolve it. Record accepted writes and unresolved conflicts separately. The goal is a trustworthy shared workflow where human work and automated proposals can coexist without silently erasing each other. Make that behaviour part of the supplier acceptance criteria.

FREQUENT SIGNALS

QUESTIONS PEOPLE ACTUALLY ASK.

Is a fresh read immediately before writing enough?

It reduces the delay but does not eliminate a concurrent change between the read and write. Ask for a destination-enforced conditional update or another appropriate atomic mechanism.

Does every API support the same version check?

No. Confirm the exact endpoint, record type and condition semantics. If the destination cannot enforce the needed protection, redesign the action path or retain a controlled human step.

Should the agent merge changes automatically?

Only within explicitly defined rules for low-impact, non-conflicting changes. A changed customer commitment or dependent field may require a new proposal and approval.

Is this the same as preventing duplicate actions?

No. Duplicate prevention concerns repeating an operation. Version checking concerns applying an operation based on information another actor has changed. A workflow may need both.

SOURCE DESK

PRIMARY SOURCES, NOT VIBES.

  1. Perform conditional operations by using the Web APIMicrosoft Learn · Documentation reviewed 7 November 2026
  2. Transactions and optimistic concurrency controlMicrosoft Learn · Documentation reviewed 7 November 2026
FROM READING TO BUILDING

MAKE THE WORK MOVE.

KEEP FOLLOWING THE SIGNAL