Thanks Wolfgang. I found it. I Work on it and let you'll know how it goes.
Sent from my iPhone
On Jan 27, 2011, at 1:08 AM, "Wolfgang Laun-2 [via Drools - Java Rules Engine]" <[hidden email]> wrote:
Accumulate functions are very well documented in the Expert manual. Look for a section titled "Accumulate Functions".
You could also use accumulate with all the steps in inline code, which is documented in the preceding section.
-WOn 26 January 2011 16:50, groovenarula <[hidden email]> wrote:
Thanks for outlining the approach, Edson.
Unfortunately, I'm a newbie using drools, so I just need some clarification
on what you mean by 'matchAll is your own accumulate function with the
semantics you described.' ? Do you mean that I have to create a 'custom'
accumulate function ?
Edson, if that's the case, then I'll try to search for example of creating a
custom function. When I last searched, I did find an example on the
Internet, however, I don't think I found details of how to make the function
available to the rules engine (is it as simple as including the jar in the
classpath or do I need to take addtional steps to use Matchall in drl ?)
Can you please elaborate for the benefit of a noobie ?
Thanks
Gurvinder
[hidden email]
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/How-to-write-a-rule-that-fires-when-it-matches-against-specific-facts-in-working-memory-tp2294599p2354793.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
_______________________________________________
rules-users mailing list
[hidden email]
If you reply to this email, your message will be added to the discussion below:http://drools-java-rules-engine.46999.n3.nabble.com/How-to-write-a-rule-that-fires-when-it-matches-against-specific-facts-in-working-memory-tp2294599p2356705.htmlTo unsubscribe from How to write a rule that fires when it matches against specific facts in working memory., click here.
View this message in context: Re: How to write a rule that fires when it matches against specific facts in working memory.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users