Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-4015

Any Async Workitemhandler won't work with persistence enabled

XMLWordPrintable

    • 2020 Week 49-51 (from Nov 30), 2020 Week 52-03 (from Dec 21), 2021 Week 04-06 (from Jan 25), 2021 Week 07-09 (from Feb 15), 2021 Week 10-12 (from Mar 8), 2022 Week 23-25 (from Jun 6)

      Marshallers are calling disconnect every time a process is persisted. Once we call this method, the current ProcessManager removes the persisted instance from memory.

      If a Async work item handler is trying to use that manager to complete a work item when the future task is completed, it will fail because it want be able to find the process instance, something that did not happen when persistence is not active

      For reference:
      https://github.com/kiegroup/kogito-runtimes/blob/master/jbpm/jbpm-flow/src/main/java/org/kie/kogito/process/impl/marshalling/ProcessInstanceMarshaller.java#L89

              cnicolai@redhat.com Cristiano Nicolai (Inactive)
              rhn-support-zanini Ricardo Zanini
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: