Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-3376

ActivationCancelledEvent causes process to stay in current node

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 5.4.0.CR1
    • None
    • None
    • None

    Description

      Description of problem:
      If the activation is cancelled by AgendaFilter (getCause() == FILTER) the
      Ruleflow stops at current Rule Task node and the process never ends.

      Version-Release number of selected component (if applicable):
      BRMS-5.3.0.dev5

      How reproducible:
      Every time

      Steps to Reproduce:
      1. Insert events to create Activations
      2. Start process with rule task and add event listeners (Process, Agenda)
      3. call fireAllRules with AgendaFilter parameter

      Actual results:
      Process is never finished nor it moves to next node once no activations are
      left to fire.

      Expected results:
      Process continues once all rules are fired and eventually completes.

      Additional info:
      Included workaround shows this problem on StatefulKnowledgeSession although the
      same problem is on stateless.

      Attachments

        Issue Links

          Activity

            People

              mfusco@redhat.com Mario Fusco
              mfusco@redhat.com Mario Fusco
              Archiver:
              rhn-support-ceverson Clark Everson

              Dates

                Created:
                Updated:
                Resolved:
                Archived:

                PagerDuty