Duplicate workitem created when throwing exception in On Entry / Exit Script

Solution Verified - Updated -


The 'Catching Intermediate Events - Error' is applied to the User task which is simulated to throw an error upon exit
e.g. On Exit Action = throw new RuntimeException("Test");

However there is an unexpected behaviour where the failed work item (e.g. User1) is still proceed to next task (e.g. User2). At the same time a new work item created due to simulated exception thrown. As a result, there are 2 user tasks created (at User2).

Expected behaviour: There should be only one task at User2 stage (due to exception thrown upon User1's exit).


  • Red Hat JBoss BPM Suite 6.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content