-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
2020 Week 52-03 (from Dec 21)
-
-
Undefined
-
NEW
-
NEW
-
---
-
---
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
- causes
-
DROOLS-6009 Missing to set property reactive mask from executable model breaks native execution
- Resolved
- clones
-
RHDM-1553 @watch annotation containing "!*" does not work as expected in executable model.
- Closed