Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Oracle BPM Suite 11g: Advanced BPMN Topics

You're reading from  Oracle BPM Suite 11g: Advanced BPMN Topics

Product type Book
Published in Oct 2012
Publisher Packt
ISBN-13 9781849687560
Pages 114 pages
Edition 1st Edition
Languages

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 $15.99/month. Cancel anytime}