<div>thanks Gayatri for ur reply </div>
<div> </div>
<div>actually im making rule like this </div>
<div>
<p>rule "Square_Foot_Calculation_Rule1_01-02-10_01-28-13"</p>
<p>date-effective "02-Jan-2010" date-expires "28-Jan-2013" salience 0 </p>
<p>no-loop true </p>
<p>when </p>
<p>objectP2483 : Para_2483(fid2338>=4 &&fid2327=="1" );</p>
<p><br>then </p>
<p>objectP2483.setFid31003(objectP2483.getEid2162()); </p>
<p>end </p>
<p><br>can u tell me what is this objectP2483 ?? </p>
<p>where this object is created ??</p>
<p>And i want to know the rule which are going to execute <br>prior of execution...i.e before calling execute() method</p>
<p> </p><br><br> </div>
<div><span class="gmail_quote">On 4/30/10, <b class="gmail_sendername">Gayatri Chandak</b> <<a href="mailto:gayatri.chandak@tcs.com">gayatri.chandak@tcs.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi ,<br><br>you can add the following line to the RHS of your rules:<br><br>drools.getRule().getName()<br>
<br><br>This returns the name of the rule.<br>Note: As the RHS is executed only when the conditions in the LHS are met<br>(satisfied), you can get the name(s) of the rule(s) that are fired.<br><br>Regards,<br>Gayatri Chandak<br>
TEG-Open Source<br>Tata Consultancy Services<br>Yantra Park -(STPI)<br>2nd Pokharan Road,<br>Opp HRD Voltas Center,Subash Nagar<br>Mumbai - 400 601,Maharashtra<br>India<br>Ph:- 022-67782556<br>Mailto: <a href="mailto:gayatri.chandak@tcs.com">gayatri.chandak@tcs.com</a><br>
Website: <a href="http://www.tcs.com">http://www.tcs.com</a><br>____________________________________________<br>Experience certainty. IT Services<br> Business Solutions<br> Outsourcing<br>
____________________________________________<br><br><br><br>From: Antonio Neto <<a href="mailto:antoniosouzaneto@gmail.com">antoniosouzaneto@gmail.com</a>><br><br>To: Rules Users List <<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>><br>
<br>Date: 04/30/2010 02:20 PM<br><br>Subject: Re: [rules-users] rules problem<br><br>Sent by: <a href="mailto:rules-users-bounces@lists.jboss.org">rules-users-bounces@lists.jboss.org</a><br><br><br><br><br><br>
<br>You can add something like<br><br>rule "rulename"<br>when<br> ...<br>then<br> System.out.println("rulename");<br>end<br><br>in the "then"clause.<br><br><br><br>2010/4/30 Puneet duggal <<a href="mailto:duggalpunit@gmail.com">duggalpunit@gmail.com</a>><br>
hello all<br>plz reply to my question ......<br><br><br>On 4/29/10, Puneet duggal <<a href="mailto:duggalpunit@gmail.com">duggalpunit@gmail.com</a>> wrote:<br> hi all,<br><br> I am new to drool business rules ,<br>
i have a web application in which i have 100 rules<br> so i want to know which rules are going to be<br> executed based on the facts i suppilied .<br> my drl files is loaded at run time from database.<br><br> thanks<br>
<br><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>
<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>
<br><br><br>=====-----=====-----=====<br>Notice: The information contained in this e-mail<br>message and/or attachments to it may contain<br>confidential or privileged information. If you are<br>not the intended recipient, any dissemination, use,<br>
review, distribution, printing or copying of the<br>information contained in this e-mail message<br>and/or attachments to it are strictly prohibited. If<br>you have received this communication in error,<br>please notify us by reply e-mail or telephone and<br>
immediately and permanently delete the message<br>and any attachments. Thank you<br><br><br><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>