[rules-users] Rule refiring issue !

Wolfgang Laun wolfgang.laun at gmail.com
Thu Jul 12 06:04:36 EDT 2012


You must have more than one Account or more than one HashMap in your
Working Memory. Other than this, there's no way rule 1 can fire a
second time.

-W



On 12/07/2012, abhinay_agarwal <abhinay_agarwal at infosys.com> wrote:
> STACK [MAIN]
>
> when initially the focus is set on agenda-group "1" , rule 1 fires...and it
> should get fire..since its salience value is greater than that of rule
> "2"..
>
> STACK [MAIN, 1]
>
> now when the agenda group is set to 2, rule 3 will fire...itzz al ok..
>
> STACK [MAIN, 1, 2]
>
> since rule 3 has no-loop, so it willl not get-refired !!
>
> STACK [MAIN, 1]
>
> now again the focus is set to agenda-group "1", and the condition of rule
> "1" meets again and it again gets fired..
> BUT, this time is dont want my rule "1" to get fired, i want the rule "2"
> to
> get fired which has lower salience value than rule "1" but is in the same
> agenda-group "1"...
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Rule-refiring-issue-tp4018618p4018631.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