Details
-
Bug
-
Resolution: Done
-
Major
-
jBPM 6.2.0.Final
-
None
Description
I have a Boundary Timer attached to a User Task inside a MultipleInstances.
If I start the process, the MultipleInstances is triggered with a List of 3 actor names so creates 3 Tasks. I expected 3 timer firing (one per one task) when wait. But please see below. 3 timer threads are spawned and each thread picks up 3 jobs hence resulted in 9 firing at a time.
MI entry Task1 entry Task1 entry Task1 entry A process instance started : pid = 1 [Wed Apr 15 15:29:25 JST 2015] [pool-2-thread-2] Sending an email to john [Wed Apr 15 15:29:25 JST 2015] [pool-2-thread-2] Sending an email to mary [Wed Apr 15 15:29:25 JST 2015] [pool-2-thread-2] Sending an email to krisv [Wed Apr 15 15:29:25 JST 2015] [pool-2-thread-1] Sending an email to john [Wed Apr 15 15:29:25 JST 2015] [pool-2-thread-1] Sending an email to mary [Wed Apr 15 15:29:25 JST 2015] [pool-2-thread-1] Sending an email to krisv [Wed Apr 15 15:29:25 JST 2015] [pool-2-thread-3] Sending an email to john [Wed Apr 15 15:29:25 JST 2015] [pool-2-thread-3] Sending an email to mary [Wed Apr 15 15:29:25 JST 2015] [pool-2-thread-3] Sending an email to krisv [Wed Apr 15 15:29:29 JST 2015] [pool-2-thread-2] Sending an email to john [Wed Apr 15 15:29:29 JST 2015] [pool-2-thread-2] Sending an email to mary [Wed Apr 15 15:29:29 JST 2015] [pool-2-thread-2] Sending an email to krisv [Wed Apr 15 15:29:29 JST 2015] [pool-2-thread-1] Sending an email to john [Wed Apr 15 15:29:29 JST 2015] [pool-2-thread-1] Sending an email to mary [Wed Apr 15 15:29:29 JST 2015] [pool-2-thread-1] Sending an email to krisv [Wed Apr 15 15:29:29 JST 2015] [pool-2-thread-3] Sending an email to john [Wed Apr 15 15:29:29 JST 2015] [pool-2-thread-3] Sending an email to mary [Wed Apr 15 15:29:29 JST 2015] [pool-2-thread-3] Sending an email to krisv [Wed Apr 15 15:29:32 JST 2015] [pool-2-thread-2] Sending an email to john [Wed Apr 15 15:29:33 JST 2015] [pool-2-thread-2] Sending an email to mary [Wed Apr 15 15:29:33 JST 2015] [pool-2-thread-2] Sending an email to krisv [Wed Apr 15 15:29:33 JST 2015] [pool-2-thread-1] Sending an email to john [Wed Apr 15 15:29:33 JST 2015] [pool-2-thread-1] Sending an email to mary [Wed Apr 15 15:29:33 JST 2015] [pool-2-thread-1] Sending an email to krisv [Wed Apr 15 15:29:33 JST 2015] [pool-2-thread-3] Sending an email to john [Wed Apr 15 15:29:33 JST 2015] [pool-2-thread-3] Sending an email to mary [Wed Apr 15 15:29:33 JST 2015] [pool-2-thread-3] Sending an email to krisv
Attachments
Issue Links
- relates to
-
JBPM-4630 Duplicate timer triggers inside multi-instance subprocesses
- Closed