Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
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

Using event sub-processes


In the previous example, we saw how we can use a boundary event to implement the cancel instance use case. We could also use an interrupting event sub-process to implement this use case. After you have completed this example, you might want to go back and implement the cancel order example using an event sub-process.

Another common use case that is implemented using event sub-processes is querying a process instance to retrieve some data from it. This is the use case we will implement in this practical exercise.

First, we will update the CancelBoundaryEvent process from the previous practical exercise so that it updates the orderStatus attribute of the Order process data object as it progresses through the process. Then, we will add an event sub-process that will allow us to query the status of an order.

  1. Open the properties for the Allocate Stock activity. Remove the draft checkbox, then go to the Implementation tab.

  2. Change Implementation Type to Script Task.

  3. Open Data...

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}