Sorry, I think I missed this, all you  need is a no-loop in the rule :)
-W


On 27/07/2012, zeeshan <zeeshan.spr...@gmail.com> wrote:
> Hi Laune !
>
> I applied your suggested changes but the loop is running infinitely and
> same
> policyAPE is used to generated cumulated value I mean for 1 agent it is
> expected that all the policy APEs should sum up to generate Agent APE but
> same policy APE getting summed up infinitely.....plz find attached of my
> console....we printing in console in following order --->  *
> System.out.println($agAPE+"ZZZZZZeeesshhaaannn"+$polAPE);*
>
> Also find my updated RuleMain and Sample.DRL...
>
>
> thanks very much again !
>
> http://drools.46999.n3.nabble.com/file/n4018946/Sample.drl Sample.drl
> http://drools.46999.n3.nabble.com/file/n4018946/console_snapshot.png
> console_snapshot.png
> http://drools.46999.n3.nabble.com/file/n4018946/RuleMain.java RuleMain.java
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Using-global-variable-in-DRL-file-tp4018911p4018946.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
>
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to