Uploaded image for project: 'JBoss ESB'
  1. JBoss ESB
  2. JBESB-3487

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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.9
    • Fix Version/s: 4.9 CP1
    • Component/s: Process flow
    • Labels:
      None

      Description

      Log events won't be saved when they are triggered by Timer.
      This issue was fixed in JobExecutorThread ( JBPM-1015 ). But regarding SOA integration, only org.jboss.soa.esb.services.jbpm.integration.job.ExecuteJobCommand includes the fix.
      org.jboss.soa.esb.services.jbpm.integration.job.ExecuteTimerCommand should follow.

      1. Snippet from org.jboss.soa.esb.services.jbpm.integration.job.ExecuteJobCommand

      // register process instance for automatic save
      // see https://jira.jboss.org/jira/browse/JBPM-1015
      ProcessInstance processInstance = job.getProcessInstance();
      jbpmContext.addAutoSaveProcessInstance(processInstance);

        Gliffy Diagrams

          Attachments

          1. timer.par
            9 kB
          2. TimerExam.zip
            100 kB

            Issue Links

              Activity

                People

                • Assignee:
                  kconner Kevin Conner
                  Reporter:
                  tkobayashi Toshiya Kobayashi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: