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

better integration of ruleflow and AgendaFilter

    XMLWordPrintable

Details

    Description

      Hi,
      I am creating this issue so that it won't be lost. See this post for more information: http://lists.jboss.org/pipermail/rules-users/2009-May/009110.html

      My original email with one reply message is pasted below:
      --------------------------------------------------------------
      If a rule is not allowed to fire by an AgendaFilter the whole ruleflow stops.

      I've created a small test case (attached). It contains:

      • one DRL file with one dummy rule that is in some ruleflow-group.
      • one RF file with three nodes ('start', 'ruleflow group' and 'end')
      • a program that starts the process, and calls fireAllRules with custom agenda filter.

      Once the program is executed the ruleflow will stop inside the ruleflow-group. If I remove the agenda filter it works as expected (the ruleflow finishes).

      Tested with Drools 5.0.1.

      Best regards,
      Michal
      ----------------------------------------
      Final reply from Mark:
      It seems like a reasonable request, that if all the rules have been cancelled, fired or filtered that the ruleflow-group should be de-activated so the flow can continue. We'll look into it for 5.1.
      ---------------------------------------

      Thanking you in advance,
      Michal

      Attachments

        Activity

          People

            mproctor@redhat.com Mark Proctor
            michalbali_jira Michal Bali (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: