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: [email protected]
[mailto:[email protected]] 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 <[email protected]>
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
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

 

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to