[rules-users] fireUntilHalt() is halt forever
Esteban Aliverti
esteban.aliverti at gmail.com
Tue Aug 21 11:08:42 EDT 2012
Instead of grouping your rules using agenda-group maybe you could partition
your kbase to only have the rules for a particular Product (?)
Best Regards,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Esteban Aliverti
- Blog @ http://ilesteban.wordpress.com
On Tue, Aug 21, 2012 at 5:00 PM, Rana <ven12344 at yahoo.com> wrote:
> Here is the example
>
> rule "AndroGel Provider State"
> no-loop true
> salience 95
> agenda-group "AndroGel"
> when
> eval( droolsRequest.address.stateCode == "MA" )
> then
> logging();
> drools.halt();
> end
>
> the other rule is very similar but for a different Agenda Group
>
> rule "Pradaxa Provider State"
> no-loop true
> salience 95
> agenda-group "Pradaxa"
> when
> eval( droolsRequest.address.stateCode == "MA" )
> then
> logging();
> drools.halt();
> end
>
> In this case it is firing the Pradaxa rule and giving me the wrong output.
>
> Thanks.
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/fireUntilHalt-is-halt-forever-tp4019146p4019313.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120821/15205139/attachment.html
More information about the rules-users
mailing list