BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
4 / 18 · Module 7 — Error Handling in Mule · filtered: cheatsheet← prev⊞ allnext →

7.14Good use of Continue

Requirement:

Loyalty data is optional.

Flow:

Get Account
    ↓
Get Loyalty
    ↓ fails
On Error Continue
    ↓
loyalty = null
    ↓
return customer

Response:

{
  "customerId": "C001",
  "name": "Acme",
  "loyaltyStatus": null,
  "warnings": [
    "Loyalty information unavailable"
  ]
}

This can be legitimate.