Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Oracle BPM Suite 11g: Advanced BPMN Topics

You're reading from   Oracle BPM Suite 11g: Advanced BPMN Topics This tutorial reaches the parts that standard manuals don't, taking you deep into advanced BPMN topics for Oracle BPM Suite. With a practical approach and logical explanations, it will make you a maestro of BPMN.

Arrow left icon
Product type Paperback
Published in Oct 2012
Publisher Packt
ISBN-13 9781849687560
Length 114 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime