[rules-users] How do I access objects in a top level or condition?

Chidambaran Subramanian chiddu at gmail.com
Wed May 28 10:39:26 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



Appreciate any help in this regard.

Regards
Chiddu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20140528/4f6b7a34/attachment.html 


More information about the rules-users mailing list