What do you mean by "when i supply values to the above Rule" ?
If you provide a snippet of the code you are using to assert objects
into the working memory and/or the values of the objects you are asserting,
it may be easier to understand your problem.
It also does not seem right to declare the ApplyRuleBean pattern twice
as you are doing.
[]s
Edson
2008/3/17, Nikhil_dev <k.nikhil(a)verchaska.com>:
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......-tp16091335p...
Sent from the drools - user mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Edson Tirelli
JBoss Drools Core Development
Office: +55 11 3529-6000
Mobile: +55 11 9287-5646
JBoss, a division of Red Hat @
www.jboss.com