Just for curiosity, why do you want to do that?<div>In DRL you can define global variables. You can then populate these globals with constant variables from your application.</div><div><br></div><div>Best Regards,<br clear="all">

<br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>


<br><br><div class="gmail_quote">On Tue, Nov 22, 2011 at 12:21 PM, Zhao Yi <span dir="ltr">&lt;<a href="mailto:zhaoyi0113@gmail.com">zhaoyi0113@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I want to define some static constant variables. How can I declare them in<br>
rule?<br>
<br>
Thanks,<br>
<span class="HOEnZb"><font color="#888888">Zhao Yi<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/How-to-define-static-constant-variable-tp3527416p3527416.html" target="_blank">http://drools.46999.n3.nabble.com/How-to-define-static-constant-variable-tp3527416p3527416.html</a><br>


Sent from the Drools: User forum 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></span></blockquote></div><br></div>