The drl is gennerated from my descion table. please see the attached xls file.
 
The error message is
org.drools.RuntimeDroolsException: Exception executing predicate org.drools.base.mvel.MVELPredicateExpression@147e16a
 
when
session.execute(rules);
 
 
Thank you very much for your help.
 

From: TSwindells@nds.com
To: rules-users@lists.jboss.org
Date: Wed, 6 Jan 2010 14:46:58 +0000
Subject: Re: [rules-users] Hashmap in rules

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.




**************************************************************************************
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster@nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00
**************************************************************************************


This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster@nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes.
To protect the environment please do not print this e-mail unless necessary.

An NDS Group Limited company. www.nds.com


Hotmail: Powerful Free email with security by Microsoft. Get it now.