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
About the Authors
About the Reviewers

Chapter 3. Working with Arrays

It is often necessary to handle a set of data in a process, which is represented as an array. Some examples of when this may occur include:

  • When you retrieve a set of records from a database

  • When you are processing a group of related items, for example, order lines in an order

Handling arrays can provide a challenge to the new developer who sometimes finds that the methods they have learned for other data types do not seem to work with arrays. In this chapter, we will present the basic theory on how to deal with arrays, specifically the following:

  • Creating an empty array (with no elements)

  • Creating an array (with some empty elements)

  • Creating an initialized array (with data in it)

  • Getting an element of an array

  • Setting up an element of an array,

  • Appending an element to an array

  • Joining two arrays

  • Removing an element from an array

  • Iterating over an array using an embedded sub-process

We will also put this theory into practice by building a number of example processes to...