Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-657

Salience ignored when no-loop set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Blocker Blocker
    • None
    • 6.1.0.Final
    • None
    • Hide

      1/ Define a first rule with the salience 10 and no-loop attribute
      2/ Define a second rule with the salience 20 and no-loop attribute
      3/ Fire the rules and you will see the rule are executed according to the order of the rule declaration and not accordinf to the salience.

      Show
      1/ Define a first rule with the salience 10 and no-loop attribute 2/ Define a second rule with the salience 20 and no-loop attribute 3/ Fire the rules and you will see the rule are executed according to the order of the rule declaration and not accordinf to the salience.
    • User Experience

      Hello,

      When we define the no-loop attribute on rules the salience is ignored. The rule execution order is the declaration order.

      Best regards,
      Seb

              mproctor@redhat.com Mark Proctor
              sebastien.chassande Sebastien Chassande (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: