Just like jrules' TRL -----邮件原件----- 发件人: Mark Proctor [mailto:[EMAIL PROTECTED] 发送时间: 2006年2月14日 2:26 收件人: [email protected] 主题: Re: [drools-user] Firing rules when something DOESN'T exist
Yes that is also the case. Mark Stuart Schmukler wrote: > I hope we will have this work for all objects of a class also. For example: > > not Person() > which says, there is NO person. > > Stuart > > > > ---- On 13 Feb 2006 12:25:47, [EMAIL PROTECTED] > ([EMAIL PROTECTED]) wrote: > > > >> From: Michael Neale <[EMAIL PROTECTED]> >> To: [email protected] >> MIME-Version: 1.0 >> Subject: Re: [drools-user] Firing rules when something DOESN'T exist >> >> >> >> yeah thats a really powerful feature, and is definately going to be >> part of Drools 3. >> >> It will work something like: >> >> not Person(name == "michael") >> which says, there is NO person called michael. >> >> Of course, you can work around this now, either by baking some of the >> logic into your model, or looking through working memory (which is >> possibly slower). >> >> Regards, >> >> Michael. >> >> On 2/11/06, Mitch Christensen <[EMAIL PROTECTED]> wrote: >> >>> Hey, >>> >>> >>> >>> I've used rules engines in the past the support the notion of a NOT >>> pattern/conditional element for firing rules when a particular item >>> doesn't exist in working memory. Does Drools support such a >>> feature? I can't find it in the docs. >>> >>> >>> >>> I want to apply the following logic: >>> >>> >>> >>> IF there is an event object available >>> >>> AND there is no existing event history object >>> >>> THEN. >>> >>> >>> >>> -Mitch >>> >>> >>> >>> > > > > ******************************************************************************************************************************** The information in this email is confidential and may be legally privileged. If you have received this email in error or are not the intended recipient, please immediately notify the sender and delete this message from your computer. Any use, distribution, or copying of this email other than by the intended recipient is strictly prohibited. All messages sent to and from us may be monitored to ensure compliance with internal policies and to protect our business. Emails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. Anyone who communicates with us by email is taken to accept these risks. 收发邮件者请注意: 本邮件含保密信息,若误收本邮件,请务必通知发送人并直接删去,不得使用、传播或复制本邮件。 进出邮件均受到本公司合规监控。邮件可能发生被截留、被修改、丢失、被破坏或包含计算机病毒等不安全情况。 ********************************************************************************************************************************
