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

18.22Scenario 21 — Parallel processing of array

Prompt:

“Process 20 independent customer IDs concurrently.”

Conceptually:

<parallel-foreach
    collection="#[payload]">

    <flow-ref name="process-customer"/>

</parallel-foreach>

But say:

“Before using Parallel For Each I'd check whether the downstream supports bulk operations and whether concurrency could cause rate limits or Salesforce record locking.”

Excellent.