[rules-users] Unexpected behavior of accumulate() and insertLogical() when the result() goes from matching a constraint to not matching

Mark Proctor mproctor at codehaus.org
Sun Oct 27 14:55:00 EDT 2013


insertLogical does retract the inserted fact, if it’s supported becomes false.

Mark
On 27 Oct 2013, at 18:52, mikerod <mjr4184 at gmail.com> wrote:

> I understand that there is no concept within the engine of latest.  I the
> surprising behavior to me here was that the rule seems to become invalidated
> in the LHS when the fact is matched with the a version than the previous
> one.  Using insertLogical, I generally expect the rule to retract previously
> inserted facts when the rule is found to no longer be true for its
> constraints.
> 
> This concept of stream mode and events is not something I am very familiar
> with.  I appreciate you pointing it out to me.
> 
> 
> 
> --
> View this message in context: http://drools.46999.n3.nabble.com/Unexpected-behavior-of-accumulate-and-insertLogical-when-the-result-goes-from-matching-a-constraint-g-tp4026507p4026516.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users




More information about the rules-users mailing list