What happens on repeat uploads or later corrections?
Key takeaway
Repeat uploads should not trigger a second business action. Corrections should be traceable and replace the wrong value.
Lessons in this path
How to do it
Separate document ID, processing run and approved record. Keep which fields were approved and where they were sent. Test interruption and restart.
What matters in practice
A business record should not depend on a single processing attempt. On a duplicate upload, test that existing corrections survive and that reviewers can explicitly approve a replacement revision.
Example: A fictional scenario
After a timeout, a user uploads the same shipment note again. The product recognises the existing record and offers review instead of creating another shipment.
Common mistakes
- Treating a technical retry as a new user action.
Frequently asked questions
Is a file checksum the business identifier?
A checksum spots byte-identical files. Different scans of one transaction need business fields or review.
Try it yourself
Run a repeat, correction and interruption on a fictional record.
Check your result
The result has one approved version and a traceable amendment history.