[rules-users] Doubt of object referencing in creating rules

Fnu Mahalakshmi FMahalakshmi at nyx.com
Tue Jun 1 10:37:41 EDT 2010


Hi,

Can anyone tell me how I could deal with complex object referencing while creating rules?
I have:
Class Customer{
String name;
Sale sales;
..
}

When I create my rules:
When customer.name = XXX
Then sales.type = A
	sales.id = 1

 
Above is what I want to do.
I have 2 classes: Customer and sales.
How could I effectively depict my rules to do the above??

Please help. 

Thank you.

Please consider the environment before printing this email.

Visit our website at http://www.nyse.com

****************************************************

Note:  The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure.  If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system.  Thank you.  NYSE Euronext.





More information about the rules-users mailing list