BPM 12c SKIP / BACK Exception Handling Lessons Learned by Dan Atwood


The new Oracle BPM 12c SKIP / BACK feature has some interesting facets that are not commonly known.  This describes what it can be used for as well as three cautions to be aware of when using it.

Use Cases for SKIP / BACK

The new Oracle BPM 12c SKIP / BACK feature greatly assists exception handling in a processes. Although Oracle BPM 11g was able to catch exceptions in processes, once caught in an error event subprocess the only option was then to exit the process.  Oracle BPM 12c’s SKIP / BACK gives us some essential functionality we have needed in the product. It not only catches exceptions thrown in a process in an Error event subprocess, but now you are able to:

  • Set the “action” predefined variable to either “skip” or “back” to send the instance back to the point in the process where the exception occurred (“back”) or to send the instance back to the activity after where the exception occurred (“skip”).
  • What is not commonly known is that after the exception is thrown and when the instance is in the event subprocess, variable information can be set in the event subprocess. When the instance is returned to the process, the process payload’s information is changed as well.

To download an Oracle BPM 12c project that demonstrates this new capability click here. Oracle ACE Associate Antonis Antoniou has written an excellent blog post that takes you through the steps needed to create a project with SKIP / BACK:  “Oracle BPM 12c Advanced Error Handling and Recovery – Part 1”.

Three Cautions When Using SKIP / BACK

SKIP / BACK is a powerful new feature, but there are three things you need to be aware of when using it.

  1. As Antonis mentions in his blog, be very careful when using the BACK action. If the original problem has not been corrected that caused the exception to occur in the main process, an infinite loop can easily occur between the work item instance in the process main process and the event subprocess. Read the complete article here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

About Jürgen Kress
As a middleware expert Jürgen works at Oracle EMEA Alliances and Channels, responsible for Oracle’s EMEA Fusion Middleware partner business. He is the founder of the Oracle SOA & BPM and the WebLogic Partner Communities and the global Oracle Partner Advisory Councils. With more than 5000 members from all over the world the Middleware Partner Community is the most successful and active community at Oracle. Jürgen manages the community with monthly newsletters, webcasts and conferences. He hosts his annual Fusion Middleware Partner Community Forums and the Fusion Middleware Summer Camps, where more than 200 partners get product updates, roadmap insights and hands-on trainings. Supplemented by many web 2.0 tools like twitter, discussion forums, online communities, blogs and wikis. For the SOA & Cloud Symposium by Thomas Erl, Jürgen is a member of the steering board. He is also a frequent speaker at conferences like the SOA & BPM Integration Days, JAX, UKOUG, OUGN, or OOP.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: