How about adding them as Globals and referencing them that way? You should be able to put
them in a map as well in a Global and reference them.
Earnie!
________________________________
From: karthizap <karthizap(a)gmail.com>
To: rules-users(a)lists.jboss.org
Sent: Monday, June 1, 2009 7:14:56 AM
Subject: re[rules-users] move hardcoded values in DRL or have constants inside drl
Is there is anyway i can remove hardcoded values in the DRL file? Can I have the constants
file(like data dictionary) inside drl/functions. I don't want to refer java constants
class directly in drl file and would like to declare and refer those constants inside drl
file.
________________________________
View this message in context: remove hardcoded values in DRL or have constants inside
drl
Sent from the drools - user mailing list archive at
Nabble.com.