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

Practice: Iterating over an array using an embedded sub-process


Let's practice this now by iterating over one of the arrays we created earlier:

  1. Return to your Array2 process, which should look similar to the following diagram:

  2. Add a Subprocess activity after InitializeArray.

  3. Add a Script activity to Subprocess and name it as DoSomething. Since we don't actually care what we do with data for the purposes of this activity, select the Is Draft option on the Basic tab in Properties for DoSomething.

    Your process should now look similar to the following diagram:

  4. Now, let's set up the iteration. Open the Loop Characteristics tab in Properties for Subprocess.

  5. Set Loop Characteristics to MultiInstance.

  6. Set Mode to Sequential.

  7. Set Creation Type to Collection.

  8. Click on the pencil icon to define Loop Data Input. In the dialog box, set Type to <Array>, Element Type to <Component>, and choose Data.Elem as Type, as shown in the following diagram:

  9. Repeat the previous step to define Loop Data Output using...