Since there's no way to achieve what you'd like to do:
why don't you simply retract and reinsert the Calendar
fact?
-W
On 19/03/2013, wumb <wumb(a)gameduell.de> wrote:
Hi,
is there a way to make drools re-evaluate the LHS of a rule when using
from? What I try to achieve is, that following rule is evaluated for
every call of fireAllRules() :
global java.util.Calendar cal
rule "test"
when
java.util.Calendar() from cal
then
System.out.println("here we go");
end
Drools evaluates the rule only in the first call of fireAllRules().
Kind regards
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users