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 initialized array


You can create an initialized array using a Copy operation with XML Literal as the source and a process data object of the array type as the destination. Here is an example of XML Literal that is suitable for initializing an array. You can find this content in the file initializedArray.xml in the code bundle for this chapter.

<exam:array xmlns:exam="http://www.example.org">
  <exam:elem>
    <exam:user>user1</exam:user>
    <exam:outcome>APPROVE</exam:outcome>
  </exam:elem>
  <exam:elem>
    <exam:user>user2</exam:user>
    <exam:outcome>REJECT</exam:outcome>
  </exam:elem>
</exam:array>

Let's try this now.

  1. Add a new Process to your project. Name it as Array2.

  2. Define a process data object named myArray of type Data.Array.

  3. Add a Script activity to the process. Name it InitializeArray.

  4. Open the Implementation tab for InitializeArray and click on Data Associations.

  5. Drag XML Literal on...

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