[rules-users] Rule activation when using from
Wolfgang Laun
wolfgang.laun at gmail.com
Tue Mar 19 09:43:05 EDT 2013
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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
More information about the rules-users
mailing list