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

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