[rules-users] fireAllRules() doesn't return back
Esteban Aliverti
esteban.aliverti at gmail.com
Sun Aug 28 11:04:17 EDT 2011
It hangs? Or the rule get executed once and again?
I don't see anything wrong with your rule. Are you sure you are not doing
any update() od modify() inside your rule?
Can you share with us how are you creating and interacting with the
knowledge base?
Best Regards,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com
2011/8/28 Neel <neeleshdev at yahoo.co.in>
> Hi,
> I'm using drools-5.3.0.Beta1. I've following rule definition:
>
>
> import java.util.*;
>
>
> declare Student
>
> name : String @key
>
> subjectGradeMap : HashMap
>
> end
>
>
>
> rule "Subject grade points"
>
> dialect "mvel"
>
> when
>
> $u : Student()
>
> then
>
> $u.subjectGradeMap["CompSc"] += 100;
>
> System.out.println("Marks added");
>
> end
>
>
> While executing RHS of above rule, fireAllRules() doesn't return, it hangs.
>
> Please help.
>
> Thanks,
>
> Neel
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110828/0a465b6d/attachment.html
More information about the rules-users
mailing list