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

RETRY handlingStrategy should handle exception multiple times while handling exception via subprocess

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 7.23.0.Final
    • 7.20.0.Final
    • None
    • NEW
    • NEW
    • 2019 Week 20-22

    Description

      I have a case where customer is trying to handle exception of WorkIteamHandler(RESTWorkItemHandler) by defining "handlingProcessId" and "handlingStrategy", like as:

      ~~~
      new org.jbpm.process.workitem.rest.RESTWorkItemHandler("bpmsAdmin","admin1",classLoader, "DealWithException","RETRY")
      ~~~
      This approach works fine when we use 'COMPLETE' and 'ABORT' handlingStrategy. With 'RETRY' strategy I am expecting when exception occurs subprocess handle it and after completion of subprocess 'Rest' service task will be triggered agaig and new suprocess will be started to handle the "new" exception. But actually subprocess is called only once and on 2nd attempt Rest task throws exception.

      Attachments

        Issue Links

          Activity

            People

              elguardian@gmail.com Enrique González Martínez (Inactive)
              elguardian@gmail.com Enrique González Martínez (Inactive)
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: