BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
171 / 279 · Module 12 — Idempotency and Duplicate Prevention · filtered: code← prev⊞ allnext →

12.1What idempotency means

A simple definition:

same request repeated
→ same intended business state

Example:

Set customer C001 status = ACTIVE

Run once:

ACTIVE

Run twice:

ACTIVE

Still fine.

But:

Create new customer C001

run twice can produce:

Customer #1
Customer #2

That's not idempotent.