Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-2024

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

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 7.4.0.GA
    • 7.2.1.GA
    • jBPM Core
    • 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)
              rhn-support-abhumbe Abhijit Humbe
              Marian Macik Marian Macik
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: