We need some rule code to get a better idea of what's going on.  Can you post some?

--- On Thu, 4/8/10, Rajnikant Gupta <capricorn.raj@gmail.com> wrote:

From: Rajnikant Gupta <capricorn.raj@gmail.com>
Subject: [rules-users] Tuples in Agenda Item.
To: rules-users@lists.jboss.org
Date: Thursday, April 8, 2010, 1:36 PM

 
Hi,
 
I have a doubt regarding tuples. I created a rule using complex types objects. I am comparing two complex type objecs which have parent-child relationship eg. "ParentType.equals(ChildType)". I expect this to follow java rule which allows such comparision. Now when I run the rules with different values for fields in ParentType and ChildType (which means the rule should fail) to my surprise it evals to TRUE. Also upon inspection, the tuple shows me only the ChildType instance not the ParentType.
 
I would appreciate any help on this.
 

Regards,

Rajnikant

-----Inline Attachment Follows-----

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users