Faulting the process

Deploy the process, following the deployment methods in Chapter 3, Process Deployment and Testing.

Now that you have implemented exception handling for the business and system exception points, it's time to test whether they are working.

  • When process token reaches the task ValidateStock, which calls StockValidator_EBS, StockValidator_EBS will raise a SOPFault business exception, if stock is not available.
  • When process token reaches the ValidateStock service task and invokes the StockValidator_EBS service, if the service throws binding/remote fault, it gets propagated as no boundary catch events are defined. For this component, Fault Policies are defined, and hence the Fault Policy framework will handle the exception. You have ...

Get Oracle BPM Suite 11g Developer's Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.