Hi,

due to generic erasure we cannot figure out that the outer map contains a
second map as value. That's why you have to explicitly downcast the value
returned by the first map. For instance this should work:

((Map) field[ "parentKey" ])[ "childKey" ]

I hope this helps,
Mario



--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-Multi-level-map-access-Drools-5-5-tp4026284p4026287.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