Notify and Exception shapes are both important when it comes to error handling in the integration process. Which one is better? It depends on the situation. Let’s take a look at the example below:
Example #1: Use Notify Shape
- If the Lead upsert operation has an error, the whole process execution will not be marked as error
- Branch 2 will continue
Example #2: Use Exception Shape
- If the Lead upsert operation has an error, the whole process execution will be marked as error
- Branch 2 will not continue
Both shapes are equally important when you are designing the error handling behavior in Boomi. If this error is not recoverable, you can use the Exception shape to terminate the process (or a single document). If this error is recoverable and you just want to log the event, you can consider about the Notify shape.