Where in your rule are you storing $rule? According to the code you've
posted $rule is only used (misused?) internally in the rule.
Best Regards,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Esteban Aliverti
- Blog @
http://ilesteban.wordpress.com
On Mon, Nov 5, 2012 at 5:41 PM, himansu.nayak <himansumca(a)gmail.com> wrote:
Hi Esteban,
Values of @{Result1}, @{Result2} & @{Result3} are unique values in my excel
and they are not null, but when i try to get the hashmap(i.e. $rule) from
array list(i.e $testObj.getResult() return an array list) in my java code
it
just return null as if the Map <String, Map>$rule = new HashMap<String,
Map>() is completely ignored when it comes out of drools working memory.
-----
Thanks...
Himansu
--
View this message in context:
http://drools.46999.n3.nabble.com/Creating-HashMap-object-in-rules-tp4020...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users