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

WorkItemNodeInstance#triggerCount is not persisted by AbstractProtobufProcessInstanceMarshaller

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.74.0.Final
    • 7.73.0.Final
    • Runtime Engine
    • None

      Hi, team

       

      Seems like a bug (jbpm-flow project):

      WorkItemNodeInstance provides an implementation of retry logic when ProcessWorkItemHandlerException is thrown. It relies on the data stored in two fields:  exceptionHandlingProcessInstanceId and retryCount.

       

      The issue is that when the process instance is persisted and then restored the exceptionHandlingProcessInstanceId is restored correctly but retryCount is not persisted at all. Thus the retry logic (in WorkItemNodeInstance#processWorkItemHandler) doesn't work because the retryCount is set back to 0 on every iteration.

            rhn-support-egonzale Enrique Gonzalez Martinez (Inactive)
            conberg DIMITAR DIMITROV (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: