Hi,
For using queries against the working memory : we do again need a knowledge of which
query to fire against the working memory depending on which rule is fired. Also maintain a
list of different queries which is ultimately written out to our output file.
Is there any way to determine this in our rule itself??
I could set a variable stating which query to be fired. But again I will be maintaining a
lot of global variables then.
Any idea?? Any better solution???
Thanks
M
----------------------------------------------------------------------
Message: 2
Date: Fri, 18 Jun 2010 15:12:28 +0100
From: "Swindells, Thomas" <TSwindells(a)nds.com>
Subject: Re: [rules-users] creating and integrating a specific output
using drools
To: Rules Users List <rules-users(a)lists.jboss.org>
Message-ID:
<DAC86F5F3B84F14088F0DB16092558CA090238F5E7(a)UKMA1.UK.NDS.COM>
Content-Type: text/plain; charset="us-ascii"
Rather maintaining global lists have you looked into using queries against the working
memory to get out what you need?
Thomas
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.