yeah, lots of ways of doing it, I didn't really want to suggest it though ;)
foreach x in something {
wm.assertObject(x);
wm.fireAllRules();
}
NOT RECOMMENDED (but would probably work) ;)
On 11/30/06, Geoffrey Wiseman [EMAIL PROTECTED] wrote:
So when do you want rules executed - each time
So when do you want rules executed - each time you assert an object? You
could decorate working memory to accomplish that.
On 11/30/06, Francesco Campagnola [EMAIL PROTECTED] wrote:
Hi,
I'd like to know if is possible to make Drools capable of firing rules
(and so executing the action parts