No this is not currently possible. Functions are generated without regard to any particular rule, i.e. functions don&#39;t know what bind variables you have in rules. Generating a function/class to include all bind variables would be possible, but probably not make a lot of sense.<br>
<br><div class="gmail_quote">On Mon, Jan 4, 2010 at 1:54 PM, HonorGod <span dir="ltr">&lt;<a href="mailto:jagadeesh.motamarri@barclayscapital.com">jagadeesh.motamarri@barclayscapital.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I have defined functions in my decision table. I wanted to access my instance<br>
variables inside functions without actually passing them as parameters. Is<br>
this possible?<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n3.nabble.com/Accessing-instance-variables-of-the-fact-inside-functions-in-decision-tables-tp108739p108739.html" target="_blank">http://n3.nabble.com/Accessing-instance-variables-of-the-fact-inside-functions-in-decision-tables-tp108739p108739.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" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br>