Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-4611

Duplicate Timer calls by a Boundary Timer inside a MultipleInstances

    Details

      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
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  marco.rietveld Marco Rietveld
                  Reporter:
                  tkobayashi Toshiya Kobayashi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: