6.38Pattern: capture record-level errors
Conceptually:
For Each customer
Try
↓
process customer
Error handler
↓
capture {
id,
error
}
↓
continue
At the end:
{
"processed": 100,
"successful": 97,
"failed": 3
}
This is a very common integration requirement.
We'll cover the Try scope and error handlers in Module 7.