Very good.  I suppose if one writes a DRL there is also the possiblity of declaring a variable to represent one of the nestings?

 

Robert Costello

 

 

-----Original Message-----
From: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Sudhir M
Sent:
Tuesday, February 03, 2009 1:17 AM
To: Rules Users List
Subject: Re: [rules-users] Nested Objects

 

Hi Ashish,

 

Yes drools 4 very much supports nested object structures. you can insert the root object in the WM and use 'from' in your rules to access the nested objects.

Regards,

sudhir.

On Tue, Feb 3, 2009 at 2:52 AM, Ashish Soni <learnspring@gmail.com> wrote:

Hi All ,

I have a Object which contains "n" number or different object basically a graph of object , Now if i have a rules on nested object do i need to insert each object separately for rule execution or is there a way drools engine can recognize the object graph and fire rules to corresponding objects.

Regards,
Ashish

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