It would help if you specify what the exact error message you are getting.
Have you imported the required classes?
From: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org]
On Behalf Of Da Sun
Sent: 06 January 2010 14:31
To: rules-users@lists.jboss.org
Subject: [rules-users] Hashmap in rules
I got a CompileException when run the following rule.
when
bioAnswers:HashMap(bioAnswers.values["HEARING"] == "Y")
reviewMsgs:LinkedList(size >= 0)
then
reviewMsgs.add("Hearing");
It will be very helpful is anyone of you rectify my mistake.
Thanks,
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
Sign up now.