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

Details

    • Bug
    • Resolution: Done
    • Critical
    • jBPM 3.2.2
    • jBPM 3.2.1
    • Runtime Engine
    • None
    • Low

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: