BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
262 / 279 · Module 18 — Interview Coding Scenarios · filtered: code← prev⊞ allnext →

18.20Scenario 19 — Don't wrap too much in retry

Avoid:

Until Successful
    Create Account
    Send Email
    Charge Payment

because retry could duplicate multiple side effects.

Better:

smallest meaningful
idempotent retry boundary

If they ask why:

“Until Successful retries the contained work, so I want the scope narrow and replay-safe.”