Possibly it's because you were doing == on a String literal in your rule?
drools d00ds help me out here. I know that there's a setting for how FactHandles are
retrieved (via identity or equality lookup) but isn't there a setting for the default
behavior of == on Strings? (identity vs equality again) If the original rule's test
(enrollmentType == "NewEnrollment") uses object identity instead of equals it
would most likely fail unless the enrollmentType value is interned.
--- On Tue, 4/20/10, mikexr <mike(a)bigfatnuthin.com> wrote:
From: mikexr <mike(a)bigfatnuthin.com>
Subject: Re: [rules-users] Rules Not executing
To: rules-users(a)lists.jboss.org
Date: Tuesday, April 20, 2010, 9:57 AM
Thanks for the reply
looks like it is loading the object
Unmarshalling data from xml file
Loading file: ../rules/834rules.drl
Inserting fact:
com.regence.edi.enrollment.EnrollmentRequest@19518cc
Firing Rules
obj: class org.drools.reteoo.InitialFactImpl
obj: class com.regence.edi.enrollment.EnrollmentRequest
marshalling output to XML file
Completed
--
View this message in context:
http://n3.nabble.com/Rules-Not-executing-tp731013p732614.html
Sent from the Drools - User mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users