[rules-users] Variable Notation in rule Condition

Salaboy salaboy at gmail.com
Thu Oct 14 01:33:57 EDT 2010


In your beans Do you use caps for attributes ?


- CTO @ http://www.plugtree.com
- MyJourney @ http://salaboy.wordpress.com
- Co-Founder @ http://www.jbug.com.ar
- Mauricio "Salaboy" Salatino -

On 13/10/2010, at 22:20, sumatheja <sumatheja at gmail.com> wrote:

> Hi All,
>         I have this doubt regarding the notation used inside the rule's condition. I have a fact HOST having the variables HostName and CPUSockets. I have the following rule
> 
> rule "Test"
> when
> HOST(HostName!=null, CPUSockets>3)
> then 
> # do something
> 
> Is throws an error saying cannot extract field HostName. It works fine when i use hostName. Can anyone explain me the concept behind this.  Thanks in advance :)
> 
> -- 
> cheers
> Sumatheja Dasararaju
> 
> 
> _______________________________________________
> 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/20101013/cfc55ef3/attachment.html 


More information about the rules-users mailing list