[rules-users] Syntax Question on an or condition

Chidambaran Subramanian chiddu at gmail.com
Wed May 28 10:24:21 EDT 2014


rule "Test"
  dialect "mvel"
  when
    ( Customer( age == 50 ) or Deal( amount == 30 ) )
  then
    Customer.setAge( "40" );
    update( Customer );
    Customer.setPlace( "Test" );
    update( Customer );

end


How to do I tag both Customer and Deal on the 1st condition , to enable me
to
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140528/8e7f5772/attachment.html 


More information about the rules-users mailing list