[rules-users] Nested Objects

Costello, Robert rcost10 at searshc.com
Tue Feb 3 09:10:17 EST 2009


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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090203/1b0b8c1e/attachment.html 


More information about the rules-users mailing list