There are some undocumented classes in drools-decisiontables that should let you do this. Have a look at DataProviderCompilerIntegrationTest.java<br><br>cheers<br>Steve<b><br></b><br><div class="gmail_quote">On Tue, Mar 25, 2008 at 12:03 PM, ferry97 &lt;<a href="mailto:vri_97@yahoo.com" target="_blank">vri_97@yahoo.com</a>&gt; wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><br>
Thanks Mark for the info.<br>
Could you show me how to do it using mvel ? or refer me a link that<br>
explaining all this ?<br>
<br>
<br>
<br>
</div><div><div></div><div>Mark Proctor wrote:<br>
&gt;<br>
&gt; ferry97 wrote:<br>
&gt;&gt; Hi,<br>
&gt;&gt; I don&#39;t know how to ask this in words.<br>
&gt;&gt; But can we do something like :<br>
&gt;&gt;<br>
&gt;&gt; rule &quot;define trx type&quot;<br>
&gt;&gt; when<br>
&gt;&gt; &nbsp; &nbsp;Transaction(code == ${type1.code&quot;)<br>
&gt;&gt;<br>
&gt; sorry no. But it&#39;s a nice idea, maybe submit a patch? You could probably<br>
&gt; do this yourself already if you use MVEL templating as a pre-parser.<br>
&gt;&gt; then<br>
&gt;&gt; &nbsp; &nbsp;doSomething ....<br>
&gt;&gt;<br>
&gt;&gt; So, we define the type.code in a properties file.<br>
&gt;&gt; Thanks<br>
&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; <a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;<br>
&gt;<br>
<br>
</div></div><font color="#888888">--<br>
View this message in context: <a href="http://www.nabble.com/Can-we-do-this-with-drools---tp16244282p16266150.html" target="_blank">http://www.nabble.com/Can-we-do-this-with-drools---tp16244282p16266150.html</a><br>
</font><div>Sent from the drools - user mailing list archive at <a href="http://Nabble.com" target="_blank">Nabble.com</a>.<br>
<br>
_______________________________________________<br>
</div><div><div></div><div>rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Steven Williams<br><br>Supervising Consultant<br><br>Object Consulting<br>Office: 8615 4500 Mob: 0439 898 668 Fax: 8615 4501<br><a href="mailto:steven.williams@objectconsulting.com.au" target="_blank">steven.williams@objectconsulting.com.au</a><br>

<a href="http://www.objectconsulting.com.au" target="_blank">www.objectconsulting.com.au</a><br><br>consulting | development | training | support<br>our experience makes the difference