[rules-users] Difference between constraint within a pattern and eval

Mohan mohan at hp.com
Thu Oct 25 10:41:59 EDT 2007


Object is siimple java bean, property "primary"  is String. "))" is a typo I
made in this thread corrected below is how i have it when I run it.
 
rule "test" 
        dialect "mvel" 
        when 
                Experience( primary == "SY") 
        then 
                log.debug("SY"); 
end 



vdelbart wrote:
> 
> Hi,
> 
> what's your Experience object ?
> Your property "primary" is a String ?
> 
> maybe it's this :
> 	when
> 		Experience( primary == "SY") )
> 
> ???
> 
> V.
> 

-- 
View this message in context: http://www.nabble.com/Difference-between-constraint-within-a-pattern-and-eval-tf4688141.html#a13407636
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list