On a somewhat related note: I have a rule, where the value of #getResult may match the constraint at some point during the accumulation, but later on will result in a value that does not match the constraint anymore.
So in my scenario, the LHS of the rule is true at some point during the accumulation of working memory elements, so the RHS fires. My RHS logically inserts new facts into working memory, via #insertLogical. Later, the #getResult returns a non-matching value, and the LHS of the rule becomes false. However, from what I'm seeing, the facts inserted into working memory from "intermediate" matches of the LHS, are not being retracted when the LHS becomes false later on. Is this expected behavior? -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Question-about-custom-accumulation-functions-tp3280838p4026504.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users