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

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

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.20.0.Final
    • Fix Version/s: 7.23.0.Final
    • Component/s: None
    • Labels:
    • Sprint:
      2019 Week 20-22
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  elguardian Enrique González Martínez
                  Reporter:
                  elguardian Enrique González Martínez
                  Tester:
                  Marian Macik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: