Hi Abhinay,

I was also expected the same and still struggling for the right answer . see
my older post 

http://drools.46999.n3.nabble.com/guvnor-5-5-Guided-decision-tables-web-based-td4022179.html#a4022238
<http://drools.46999.n3.nabble.com/guvnor-5-5-Guided-decision-tables-web-based-td4022179.html#a4022238>
  


I would like to ask you that according to your first post you have created a
Hash Map.

Map<String, Integer> map = new HashMap<String,Integer>(); 
map.put("amount",12); 

My DRL is as follows : 

when 
       $h : HashMap(this["amount"]!=null) 
then 
      //something

 So did you created that in Guvnor or in hand coded drl file ? How Guvnor
will identified HashMap(this["amount"]!=null) statement without creating a
object of HashMap ?





-----
Aditi 
--
View this message in context: 
http://drools.46999.n3.nabble.com/Can-an-Object-inside-a-map-be-used-in-guvnor-tp4022907p4022982.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to