-
Bug
-
Resolution: Done
-
Major
-
7.9.0.GA
-
This issue occurs on RHDM 7.9.0.
-
False
-
False
-
Release Notes
-
-
-
-
-
-
CR1
-
+
-
Undefined
-
-
-
2021 Week 07-09 (from Feb 15)
Executing a rule like (*1) in executable rule model, the rule is evaluated repeatedly. In this rule, re-evaluation occurs in executable model though @watch(!*) annotation is specified to the pattern like (*1-1). @watch annotation containing !* as below does not work as expected, as well as @watch(!*).
- @watch(!*, point2)
- @watch(!*, point1)
- @watch(point1, !*)
On the other hand, @watch not containing !*, for example, @watch(!point1, point2) or @watch(!point1, point3), works as expected.
(*1)
package com.example.reproducer dialect "mvel" rule "rule9b3" when $fact : Fact( $point1 : point1, $point2 : point2 ) @watch(!*) // ..... (*1-1) then System.out.println("***** Action of \"rule9b3\" -- $fact = " + $fact + ", $point1 = " + $point1 + ", $point2 = " + $point2); $point1 = $point1.add($point2); modify($fact) { point1 = $point1, point3 = $point1 } end
- is cloned by
-
DROOLS-5961 @watch annotation containing "!*" does not work as expected in executable model.
- Closed