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

Creating an empty array

Some common scenarios when you may want to create an empty array are when you want to:

  • Collect several pieces of data in an array over time for later processing, for example, you may wish to collect the outcome of several human tasks

  • Store the output of an XPath function that returns a node set

While you can create an empty array, you cannot actually use it for anything meaningful until you put some elements into it.

You can create an empty array by using the Copy action and XML Literal in the Data Association editor. This is shown in the following screenshot, which uses a Copy operation with XML Literal to create an empty array. It then immediately uses an Append operation to store the output of an XPath function into that array.

Creating an empty array before storing data in it using the Append operation ensures that there will not be a superfluous initial element in the array with no associated value.

Let's practice creating an empty array now. We will use the scenario...