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:
In JDeveloper, create a new BPM Application named PropagatingExceptions.
Create a BPM Project inside this named PropagatingExceptions.
Create a Process named Process1.
Into this process add an embedded sub-process (not an event sub-process).
In the sub-process add Throw Message Event and then Catch Timer Event.
Create a second Process named Process2.
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.
Save both processes.
Return to Process1. Open the Implementation tab for Throw Message...