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

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

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