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

ProcessLogs that represent changes of process intance that take place within Timer.Execute are not saved in DB

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • jBPM 3.2.2
    • jBPM 3.2.1
    • Runtime Engine
    • None
    • Tomcat 5.0.28 or Jboss

    • Low

      It seems to be a problem with Timer implementation. When some change in process occurs (such as transition or action call), the process instance should be added to jbpmContext to the list of auto saved process instances (actual saving occurs when JBPMContex.close() is called). Apparently Timer.execute does not do it and as a result, the log of all operations performed by Timer.execute is not stored in DB and getting lost.

      To fix the problem, the token.getProcessInstance() should be added to "autoSaveProcessInstances" list in JBPMContext.

              tom.baeyens Tom Baeyens (Inactive)
              gmesserman Gil Messerman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: