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

Propagating exceptions using peer processes


In this practice, we will explore exception propagation. You may recall that exceptions are not automatically propagated from a peer process, which is invoked using a Throw Message Event back to the process that invoked it. Let's validate this behavior first and then update our processes so that we can catch and propagate the exception:

  1. In JDeveloper, create a new BPM Application named PropagatingExceptions.

  2. Create a BPM Project inside this named PropagatingExceptions.

  3. Create a Process named Process1.

  4. Into this process add an embedded sub-process (not an event sub-process).

  5. In the sub-process add Throw Message Event and then Catch Timer Event.

  6. Create a second Process named Process2.

  7. In Process2, right click on the End node and change Trigger Type to Error. In the Implementation tab, click on the green plus icon to add new Business Exception named BusinessException1.

  8. Save both processes.

  9. Return to Process1. Open the Implementation tab for Throw Message...

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