<p>This is My rule </p>
<p><br>rule "Area_SquareFt_01_10-01-09_12-31-14"<br>date-effective "01-Oct-2009" date-expires "31-Dec-2014" salience 6 <br> no-loop true <br> when <br> eval(BusinessLogic.gettest("Inside Area_SquareFt_01_10-01-09_12-31-14 executed"))<br>
objectP2483 : Para_2483( (fid2335=="Block") && (fid2336=="16") );<br> <br> then <br> System.out.println("Area_SquareFt_01_10-01-09_12-31-14 executed");<br> objectP2483.setFid31003(new Double(497)); end</p>
<p> </p>
<p> here My 31003 is a String field but i am assigning a Double in it so that should'nt<br> work . But the problem is because of this my all remmaning rules also stoped working.<br>And it took 2 hours to detect it because the execute() method dosent through any error.<br>
So how can we detect these situation earlier ,so as to catch the problem early and why my the remm <br>rules stoped woking because on this.</p>
<p> </p><br><br>
<div><span class="gmail_quote">On 5/4/10, <b class="gmail_sendername">tolitius</b> <<a href="mailto:webakaunt@gmail.com">webakaunt@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>@Puneet,<br><br> Examples would be useful to understand what kind of problem you are<br>having. As to<br>
Puneet wrote:<br>> how can I detect which exact business rule is having error<br><br> Check out "Debugging Rules" section of Drools documentation:<br><a href="http://bit.ly/9PRDRJ">http://bit.ly/9PRDRJ</a><br>
<br>@Wolfgang,<br><br> No need to be a hater Wolfgang, the question is simple. I agree,<br>examples would be helpful, but that is NOT how you grow a friendly<br>community.<br><br> Community is the biggest problem JBoss has. Why is it so inhumanly<br>
difficult to be polite and considerate?<br><br>/Anatoly<br><br>--<br>View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Rules-doubt-tp774023p775029.html">http://drools-java-rules-engine.46999.n3.nabble.com/Rules-doubt-tp774023p775029.html</a><br>
Sent from the Drools - User mailing list archive at Nabble.com.<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>