<br> What do you mean by "when i supply values to the above Rule" ?<br> 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.<br>
It also does not seem right to declare the ApplyRuleBean pattern twice as you are doing.<br><br> []s<br> Edson<br><br><div><span class="gmail_quote">2008/3/17, Nikhil_dev <<a href="mailto:k.nikhil@verchaska.com">k.nikhil@verchaska.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br> rule "Rule_decimal_1"<br> dialect "mvel"<br> when<br> $a : ApplyRuleBean()<br> m : ApplyRuleBean ( eval ( ( adultFare + childFare ) < 500 ) )<br> then<br> $a.GrossFare = ( $a.NettPayable * 0.10 )<br>
end<br> <br> Consider the above Rule it has been dynamically generated.....<br> when i supply values to the above Rule, proper calculated Gross Fare is<br> given as output<br> if i dont provide any one of the variable values.... then no error is given<br>
from drool......<br> the process gets terminated..... is there any ways to identify which values<br> are not provided in the Rule....<br> I hope my query is understood.... and waiting for reply...<br> <br> <br> -----<br>
Regards,<br> :working:Nikhil<br> <br>--<br> View this message in context: <a href="http://www.nabble.com/Missing-Values-for-a-Dymanic-Rule......-tp16091335p16091335.html">http://www.nabble.com/Missing-Values-for-a-Dymanic-Rule......-tp16091335p16091335.html</a><br>
Sent from the drools - user mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br> <br> _______________________________________________<br> rules-users mailing list<br> <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br> </blockquote></div><br><br clear="all"><br>-- <br> Edson Tirelli<br> JBoss Drools Core Development<br>
Office: +55 11 3529-6000<br> Mobile: +55 11 9287-5646<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>