Should not be using according to convention but yes i used it that way. In
the below case CPUSockets is not giving any error.
2010/10/14 Salaboy <salaboy(a)gmail.com>
In your beans Do you use caps for attributes ?
- CTO @ <
http://www.plugtree.com>http://www.plugtree.com
- MyJourney @ <
http://salaboy.wordpress.com>http://salaboy.wordpress.com
- Co-Founder @ <
http://www.jbug.com.ar>http://www.jbug.com.ar
- Mauricio "Salaboy" Salatino -
On 13/10/2010, at 22:20, sumatheja <sumatheja(a)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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
cheers
Sumatheja Dasararaju