<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:tahoma,new york,times,serif;font-size:10pt"><div>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.<br><br>Earnie!<br></div><div style="font-family: tahoma,new york,times,serif; font-size: 10pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> karthizap &lt;karthizap@gmail.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> rules-users@lists.jboss.org<br><b><span style="font-weight: bold;">Sent:</span></b> Monday, June 1, 2009 7:14:56 AM<br><b><span style="font-weight: bold;">Subject:</span></b> re[rules-users] move hardcoded values in DRL or have constants inside drl<br></font><br>

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.
<br><hr align="left" width="300">
View this message in context: <a rel="nofollow" target="_blank" href="http://www.nabble.com/remove-hardcoded-values-in-DRL-or-have-constants-inside-drl-tp23813412p23813412.html">remove hardcoded values in DRL or have constants inside drl</a><br>
Sent from the <a rel="nofollow" target="_blank" href="http://www.nabble.com/drools---user-f11823.html">drools - user mailing list archive</a> at <a target="_blank" href="http://Nabble.com">Nabble.com</a>.<br>
</div></div></div></body></html>