Integration Procedure running after an error
This dangerous Integration Procedure anti-pattern relates to the lack of error handling. Let’s see what may happen when we neglect to check on the outcome of a step that is not guaranteed to always be completed successfully.
The following Integration Procedure has three steps: the first step creates a Quote, and the second and third steps process this Quote and its line items (see Figure 12.6):
Figure 12.6 – An overview of a sample Integration Procedure for creating Quotes
If we don’t check whether the Quote was successfully created, steps two and three will still be invoked after step one. They will continue processing, possibly making updates, as if their data comes from a correctly created Quote. This may result in additional errors, produce invalid entries, or corrupt the data in our systems.
For example, if the Quote in our sample Integration Procedure shown in Figure 12.6 was...