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

Creating an array with some empty elements


To create an array with one or more empty elements in it, you first create an empty array (as shown in the preceding section), and then you append the number of empty elements that you need. If you need more than one, then you could use a loop.

You can append the empty element using the Append operation in the Data Association editor, as we saw in the previous example. To get an empty element to append, you just need to define a data object based on the business object of the type you need, but don't put any data in it.

Let's update our Array1 process to add some empty elements to our array:

  1. Add a Subprocess activity to your process after CreateEmptyArray. Open the Loop Characteristics tab in Properties and choose Loop. Set the Loop Condition to loopCounter <= 5. This loopCounter we referred to is a predefined variable that will automatically be incremented each time the loop is executed:

  2. Let's create the new empty data object that we will use to...