Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-3531

Activation time of tasks is set to time when task is created, not when it is started

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 6.1.0
    • jBPM Core
    • None

      Description of problem:
      When I try to get list of active tasks which were activated since some specific date by calling method getActiveTasks(Date since) in SynchronizedTaskService, I get list of tasks which were created since that specific date and are now active.

      It is caused by setting activation time to same time as is creation time. [1]

      Version-Release number of selected component (if applicable):
      6.1.0.ER6

      How reproducible:
      Start process with human task and start task. Call getActiveTasks(date) with date which is between time when task is created and when it is started.

      Steps to Reproduce:
      1.
      2.
      3.

      Actual results:
      getActiveTasks returns empty list

      Expected results:
      getActiveTasks should return list with task which was started after specified date

      Additional info:

      [1] https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human-task-jpa/src/main/java/org/jbpm/services/task/impl/model/TaskDataImpl.java#L388

              swiderski.maciej Maciej Swiderski (Inactive)
              ksuta Karel Suta
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Karel Suta, Kris Verlaenen, Marek Baluch, Rajesh Rajasekaran
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: