Details
-
Bug
-
Resolution: Done
-
Major
-
jBPM 6.4.0.Beta1
-
None
-
NEW
-
NEW
-
Description
I have a main process with a HumanTask. The HumanTask has a boundary timer event (10 seconds), which, when fired, will sent a signal (intermediate signal event). This signal will start 2 other processes. (the process doesn't make a lot of sense, just a sample to show the issue).
When I run this process in JBoss BPMSuite 6.2.0.GA, I see the main process and the other 2 processes execute and complete. However, for both processes that are signalled, 2 entries are created in the 'processinstancelog' table in the DB, which causes these processes to appear twice in the "Process Instances -> Completed" view.
This only seems to happen when I run the "Per Process Instance" strategy. When I run the "Singleton" strategy, everything works as expected. I had a short look at JPAWorkingMemoryDBLogger.fireAfterProcessCompleted( .... ), but that class gets 1 event per process completion.