BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
123 / 279 · Module 6 — Mule Routing and Orchestration · filtered: code← prev⊞ allnext →

6.45Interview scenario

Interviewer:

We receive 100 customer IDs. For each we must call an independent scoring service, then update Salesforce. What would you use?

Good answer:

“First I'd ask whether the scoring service supports bulk input, because batching may be better than 100 calls. If it doesn't and the records are independent, Parallel For Each may be appropriate, but I'd bound concurrency according to both the scoring service and Salesforce limits. If ordering or shared Salesforce records matter, I'd use sequential processing instead.”

That's much stronger than:

“Parallel For Each.”