BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
42 / 81 · Module 12 — Idempotency and Duplicate Prevention · filtered: interview← prev⊞ allnext →

12.17Status matters too

Suppose request key exists:

REQ-123

but status is:

PROCESSING

What should a second request do?

Possible answers:

return 202 PROCESSING
wait
reject with conflict
attach to existing operation

If status is:

COMPLETED

return previous result.

If:

FAILED

you need defined replay semantics.