Re: [drools-user] How to avoid multiple calls to fireAllRules( ) (if possible) ?

2006-12-01 Thread Michael Neale
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

Re: [drools-user] How to avoid multiple calls to fireAllRules( ) (if possible) ?

2006-11-30 Thread Geoffrey Wiseman
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