Hi Sai,<br>The idea of this mailing list is to ask questions about doubts writing rules/processes not to ask for implementations.<br>If you have problems implementing your rules you can write us we are here to help, but we do this for free and we don&#39;t have time to implement your rules, at least I don&#39;t have the time for that kind of support.<br>
<br>I suggest you to try to write your own rules and classes, if you have problems with that just ask us we will guide you during the process.<br><br>You can also take a look at my blog, you will find several posts about Drools, and some examples about how to write rules.<br>
If you need something special I can write about that too.<br><br><a href="http://en.wordpress.com/tag/jboss-drools/">http://en.wordpress.com/tag/jboss-drools/</a><br><br>Greetings!<br><br><div class="gmail_quote">2010/5/11 Sai Venkat <span dir="ltr">&lt;<a href="mailto:sai_botta@yahoo.co.in">sai_botta@yahoo.co.in</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Good Morning Mr.Laun,</div>

<div> </div>
<div>Yes you are correct.But request you to send me sample code for that sort of application as how to write ro implement rules.</div>
<div>what class need to be written and rules related to that.</div>
<div> </div>
<div>waiting for your response</div>
<div> </div>
<div>thanks in advance   </div>
<div> </div>
<div>venkat<br></div>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><div class="im">
<hr size="1">
<b><span style="font-weight: bold;">From:</span></b> Wolfgang Laun &lt;<a href="mailto:wolfgang.laun@gmail.com" target="_blank">wolfgang.laun@gmail.com</a>&gt;<br><b><span style="font-weight: bold;">To:</span></b> Rules Users List &lt;<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>&gt;<br>
</div><b><span style="font-weight: bold;">Sent:</span></b> Tue, 11 May, 2010 21:36:59<div><div></div><div class="h5"><br><b><span style="font-weight: bold;">Subject:</span></b> Re: [rules-users] Regarding Jboss drools rules<br>
</div></div></font><div><div></div><div class="h5"><br>If I understand you correctly, you just have to classify data records (facts) as &quot;passed&quot; and &quot;failed&quot;.<br><br>If possible, add another field &quot;result&quot; to the class representing your &quot;record&quot; which may assume the values &quot;undef&quot;, &quot;passed&quot;, &quot;fail&quot;.<br>
<br>Write rules to detect the &quot;passed&quot; objects with result == Result.UNDEF and set result to Result.passed, or print and retract the fact.<br><br>Write one rule with low (negative) Salience for objects with result == Result.UNDEF and set <br>
result to Result.failed, or print and retract the fact.<br><br>That&#39;s
 all there is to it.<br>-W<br><br><br><br>
<div class="gmail_quote">2010/5/11 Sai Venkat <span dir="ltr">&lt;<a href="mailto:sai_botta@yahoo.co.in" rel="nofollow" target="_blank">sai_botta@yahoo.co.in</a>&gt;</span><br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
<div>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
<div>Hi Mr.Laun,</div>
<div>Thank you very much for the response.</div>
<div>yes i mean Facts only.but my requirement is for a set of input which contains records in text or xls or anyother format we write some rules, based on the conditions the set of input if satisfies will give an outcome or result.</div>

<div>so is there any tracking like where i can figure out tht these were the outcomes or result for total of 5 records only 3 were satisfied and the rest failed.</div>
<div> </div>
<div>i need the output to be shown to the enduser for the processed records or for the total input and total output.</div>
<div>please do help me.</div>
<div> </div>
<div>Thanks and regards</div>
<div> </div>
<div>venkat <br></div>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2">
<hr size="1">
<b><span style="font-weight: bold;">From:</span></b> Wolfgang Laun &lt;<a href="mailto:wolfgang.laun@gmail.com" rel="nofollow" target="_blank">wolfgang.laun@gmail.com</a>&gt;<br><b><span style="font-weight: bold;">To:</span></b> Rules Users List &lt;<a href="mailto:rules-users@lists.jboss.org" rel="nofollow" target="_blank">rules-users@lists.jboss.org</a>&gt;<br>
<b><span style="font-weight: bold;">Sent:</span></b> Tue, 11 May, 2010 16:32:31<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [rules-users] Regarding Jboss drools rules<br></font>
<div>
<div></div>
<div><br>This is the strangest request I have seen on this list...<br><br>If you need a sample application, take your pick from the examples provided with Drools, which you could modify to show whatever you want to see.<br>
<br>Anyway, what you write is far from a clear specification. There is no such thing as a &quot;success(ful)&quot; or &quot;failed&quot; <i>record</i> in Drools. (Do you mean <i>facts</i>?)<br><br>-W<br><br><br>
<div class="gmail_quote">2010/5/11 Sai Venkat <span dir="ltr">&lt;<a href="mailto:sai_botta@yahoo.co.in" rel="nofollow" target="_blank">sai_botta@yahoo.co.in</a>&gt;</span><br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
<div>
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
<div>Hi could anyone send me a sample application which has two rules for a set of 5 records and process the rules show the output in any format(text,csv,xls...).</div>
<div> </div>
<div>the result should be dispalyed with both the success and failed records after it processed the rules.</div>
<div> </div>
<div>Thanks n Regards</div>
<div> </div>
<div>venkat  </div></div><br></div><br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org" rel="nofollow" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" rel="nofollow" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br></blockquote></div><br></div></div></div></div></div><br></div>
<br>_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org" rel="nofollow" target="_blank">rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" rel="nofollow" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br></div></div></div></div></div><br>



      </div><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" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br> - <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br> - <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> - Salatino &quot;Salaboy&quot; Mauricio -<br>