[rules-users] Variable Notation in rule Condition

sumatheja sumatheja at gmail.com
Thu Oct 14 01:20:39 EDT 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101014/0058b5fa/attachment.html 


More information about the rules-users mailing list