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

18.25Scenario 24 — What if Contacts partially fail?

Say:

“I'd first clarify the API contract. If partial success is allowed, I'd capture per-contact results and return/report the failed source IDs. If Contacts are mandatory for onboarding, I'd propagate the failure but also recognize that the Account may already have committed, so recovery needs retry, reconciliation, or compensation rather than an assumed distributed rollback.”

That's the kind of follow-up they want.