You are not writing rules - you are using rules to disguise the fact
that you are using if statements to process your data.

What is "droolsRequest" and how is it declared? If this were a real rule,
it would be

when
    DroolsRequest( address.stateCode == "MA" )
then
   ...

no-loop is nonsense in a rule that doesn't update any WM data.

-W

On 21 August 2012 17:00, Rana <ven12344@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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users