Just for curiosity, why do you want to do that?
In DRL you can define global variables. You can then populate these globals with constant variables from your application.

Best Regards,

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


On Tue, Nov 22, 2011 at 12:21 PM, Zhao Yi <zhaoyi0113@gmail.com> wrote:
I want to define some static constant variables. How can I declare them in
rule?

Thanks,
Zhao Yi

--
View this message in context: http://drools.46999.n3.nabble.com/How-to-define-static-constant-variable-tp3527416p3527416.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users