[rules-users] Identify attributes with decision tables
Jonathan Guéhenneux
jojolemariole at hotmail.com
Fri Apr 4 10:39:53 EDT 2008
hi,
I have no problem for this kind of rule :
rule "Primitive support"
when
$c : Cheese( price < 10 )
then
$c.setPrice( 10 )
end
but I would like to know what is the decision table for this small rule
rule "Primitive support"
when
$c : Cheese( $price : price )
then
$c.setPrice( $price * 2 )
end
I've tried a lot of syntax and I read the section abour the decision table in the manual but ididnt find anything.
_________________________________________________________________
Créez votre disque dur virtuel Windows Live SkyDrive, 5Go de stockage gratuit !
http://www.windowslive.fr/skydrive/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080404/7040827c/attachment.html
More information about the rules-users
mailing list