[rules-users] Missing Values for a Dymanic Rule......

Nikhil_dev k.nikhil at verchaska.com
Mon Mar 17 05:57:13 EDT 2008


rule  "Rule_decimal_1"
dialect "mvel"
when 
        $a : ApplyRuleBean() 
         m : ApplyRuleBean ( eval ( ( adultFare + childFare ) < 500 ) )
then 
          $a.GrossFare = ( $a.NettPayable * 0.10 )
end

Consider the above Rule it has been dynamically generated.....
when i supply values to the above Rule, proper calculated Gross Fare is
given  as output 
if i dont provide any one of the variable values.... then no error is given
from drool......
the process gets terminated..... is there any ways to identify which values
are not provided in the Rule....
I hope my query is understood.... and waiting for reply...


-----
Regards,
:working:Nikhil
-- 
View this message in context: http://www.nabble.com/Missing-Values-for-a-Dymanic-Rule......-tp16091335p16091335.html
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list