Book Image

Oracle BPM Suite 11g: Advanced BPMN Topics

Book Image

Oracle BPM Suite 11g: Advanced BPMN Topics

Overview of this book

Oracle BPM Suite is a popular and highly capable business process management system with extensive integration capabilities. BPMN, one of the most widely used process modeling notations, includes advanced capabilities for inter-process communication, working of arrays of data, and handling exceptions. However, these very same areas are often poorly understood. This book gives you the knowledge to create professional process models using these advanced features of BPMN."Oracle BPM Suite 11g: Advanced BPMN Topics" is the only book available that provides coverage of advanced BPMN topics for Oracle BPM Suite, helping to fill in the gaps left by the product documentation, and giving you the information that you need to know to use BPMN to its full potential.This book covers the important theory behind inter-process communication, working with arrays and handling exceptions in BPMN, along with detailed, step-by-step practical exercises that demonstrate and consolidate this theoretical knowledge.Throughout the book we'll cover topics including different types of sub-processes, initializing and manipulating arrays, using the multi-instance embedded sub-process, fault propagation and more.With "Oracle BPM Suite 11g: Advanced BPMN Topics" in hand, you'll gain detailed and practical experience in using the advanced features of BPMN to create professional BPMN processes with Oracle BPM.
Table of Contents (12 chapters)
Oracle BPM Suite 11g: Advanced BPMN Topics
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Propagating exceptions using peer processes


In this practice, we will explore exception propagation. You may recall that exceptions are not automatically propagated from a peer process, which is invoked using a Throw Message Event back to the process that invoked it. Let's validate this behavior first and then update our processes so that we can catch and propagate the exception:

  1. In JDeveloper, create a new BPM Application named PropagatingExceptions.

  2. Create a BPM Project inside this named PropagatingExceptions.

  3. Create a Process named Process1.

  4. Into this process add an embedded sub-process (not an event sub-process).

  5. In the sub-process add Throw Message Event and then Catch Timer Event.

  6. Create a second Process named Process2.

  7. In Process2, right click on the End node and change Trigger Type to Error. In the Implementation tab, click on the green plus icon to add new Business Exception named BusinessException1.

  8. Save both processes.

  9. Return to Process1. Open the Implementation tab for Throw Message...