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

Boundary timer not triggered after rollback

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.12.1.GA
    • None
    • jBPM Core
    • None
    • RHPAM 7

    • 2022 Week 02-04 (from Jan 10)

      A HT with a timer attached to cancel it, is correctly disabled if HT is completed.

      At this point HT is the last save point

      if next task launches an error, process is rolled back to HT (to state "In Progress")

      But timer is not rescheduled. It is expected that timer is reenabled (with same trigger datetime)

      timer is not entirely ignored, as check the SVG diagram status from process instance, reschedule the timer launching it if expired.

      Provided a reproducer where timer expires in 2 min.

      If HT is completed before those 2 min, timer is cancelled. but as next script task throws an error, process rolls back to HT, but timer is not rescheduled, until some operation like check the svg diagram for process instance

      /server/containers/

      {containerId}

      /images/processes/instances/

      {processInstanceId}

      timer is rescheduled (and if those 2 min had passed, that branch will just run at that moment)

        1. Captura de pantalla de 2021-12-22 14-17-16.png
          21 kB
          Alberto Fanjul Alonso

              rhn-support-egonzale Enrique Gonzalez Martinez (Inactive)
              afanjula@redhat.com Alberto Fanjul Alonso
              Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
              Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: