Even if you just want to have equivalent DRL functions you&#39;ll have to do it by hand. DRL functions are just like static Java methods.<br>-W<br><br><div class="gmail_quote">2011/12/20 G S <span dir="ltr">&lt;<a href="mailto:gshrestha1972@gmail.com">gshrestha1972@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204,204,204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">I have a source code written in Java script but I want that logic to<br>
be written in .drl (drools). Any guidelines, or ideas how I can<br>
convert java script to rules?<br>
sample source code attached.<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" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>