[rules-users] Help Needed in eval

Michael Neale michael.neale at gmail.com
Mon Mar 5 18:49:13 EST 2007


I assume $a and $n are bound to some facts in the rule? paste your rule
here.

On 3/5/07, shilpa.raghavendra at wipro.com <shilpa.raghavendra at wipro.com>
wrote:
>
>  Hi,
>
>
>
>             My eval condition as follows
>
>
>
> eval(($a.getSupervisorRem().intValue()) <
> (($n.getCount().intValue())/($conf.getSupervisorCnt().intValue())))
>
>
>
> (($a.getSupervisorRem().intValue())  = 0
>
>
>
> (($n.getCount().intValue())/($conf.getSupervisorCnt().intValue())) = 2
>
>
>
> 0 < 2 , So condition is satisfied, It has to execute the rule but it's not
> happening please help me in this.
>
>
>
> Regards
>
> Shilpa
>
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies of
> this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses. The
> company accepts no liability for any damage caused by any virus transmitted
> by this email.
>
> www.wipro.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/20070306/9f5c9994/attachment.html 


More information about the rules-users mailing list