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

Accumulate functions using join variables are not reevaluated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.2.0.Final
    • 6.0.1.Final, 6.2.0.CR2
    • None
    • None

      Tick( $index : tick ) 
      accumulate ( $data : Data(),
                           $tot : sum( $data.values[ $index ] ) ) 
      

      The engine ignores the fact that "$index" in the acc function is a join
      variable, so it does not re-evaluate the function on a left update

              mfusco@redhat.com Mario Fusco
              dsotty Davide Sottara (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: