To create any object on the right hand side of a rule, use the
correct Java syntax:
HashMap $rule = new ...
-W
On 05/11/2012, himansu.nayak <himansumca(a)gmail.com> wrote:
Hi,
i am trying to create an hash map object inside one of my rules
$rule : new HashMap<String, String>();
$rule.add("Result1", "@{Result1}");
but it don't work.
-----
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