Chapter 7. Dealing with error handling

 

This chapter covers

  • Choosing between error handling options
  • Implementing processes with error end and boundary events
  • Implementing error handling with Java logic
  • Using the Activiti Designer

Having read the first six chapters, you now know a lot about BPMN 2.0 and Activiti. You’ve been introduced to the tools, taken a good look at the Activiti Engine services API, implemented a real-world business process, and deployed that process on Activiti Engine. In the examples in the previous chapters, we focused on happy flow processes. Now, it’s time to start thinking about error handling.

In chapter 5, we implemented a simplified credit check script task, but, if the credit check logic is implemented with a service call to an external component, a lot of errors could occur. Think about “Customer not found” or connection errors; how could they be handled in a BPMN process definition?

7.1. Choosing between error handling options

 
 
 

7.2. Implementing error handling with BPMN 2.0 constructs

 
 
 

7.3. Implementing error handling using Java logic

 
 

7.4. Summary

 
 
 
 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest