re[rules-users] move hardcoded values in DRL or have constants inside drl
Earnest Dyke
earniedyke at yahoo.com
Mon Jun 1 07:38:09 EDT 2009
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 at gmail.com>
To: rules-users at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090601/172ac628/attachment.html
More information about the rules-users
mailing list