BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
257 / 1048 · Module 7 — Error Handling in Mule← prev⊞ allnext →

7.36Record-level Try pattern

For individually processed records:

For Each contact

    Try
      ↓
    process contact

      error?
      ↓
    On Error Continue
      ↓
    record failure

This allows later records to continue.

At end:

build summary

But remember what we discussed earlier:

Don't use record-by-record connector calls when Salesforce supports a better batching approach.

Error requirements and performance requirements need to be balanced.