[rules-users] Query about the state of tuples in AgendaItem.

Rajnikant Gupta capricorn.raj at gmail.com
Mon Mar 29 10:50:20 EDT 2010


Hi Group,

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 Gupta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100329/0674ac16/attachment.html 


More information about the rules-users mailing list