[rules-dev] Reading value from map at runtime

nasir nasirgoe at yahoo.com
Sat Jul 14 02:18:29 EDT 2012


Dear All,
I am new in the guvmor development environment. I am facing the following problem:

I have one map (key, value pair). A user wants to write a DSL rule using key. The requirement is that the key should be replaced with value when drools fire the rule. My questions are the following:

1. How to prepare a map?
2. Is it possible to replace a key with value at runtime?

I shall be thankful to your cooperation.

Best Regards,
Nasir




More information about the rules-dev mailing list