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
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/How-to-write-a-rule-t...
Sent from the Drools - User mailing list archive at
Nabble.com.