[rules-users] decision tables and attributes as parameters in function calls
Jonathan Guéhenneux
jojolemariole at hotmail.com
Mon Apr 7 04:56:34 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.
_________________________________________________________________
Découvrez les profils Messenger de vos amis !
http://home.services.spaces.live.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080407/86164506/attachment.html
More information about the rules-users
mailing list