[rules-users] infinite loop rule execution

Wolfgang Laun wolfgang.laun at gmail.com
Tue Feb 4 06:49:10 EST 2014


On 04/02/2014, wtang <wtang at kana.com> wrote:
> I am using a hashMap for my facts.  That is I actually have all the facts
> in
> one big hashMap.  Drools treats the hashMap as one fact and whenever I
> update this hashMap, all the rules are executed again and again.
>
> Would are the best way to solve this problem.  I can use no-loop, but it
> has
> its draw back.


The best way to solve this is not to use "one big hashMap".

-W


>
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/infinite-loop-rule-execution-tp4027980.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