When you use the fireAllRules(AgendaFilter) method on the WorkingMemory does
it clear the Agenda when its done or can you fire different rules in the
working memory at different points in time without modifying the facts in
between.

The rules I have can be broken into two distinct rulesets that need to be
executed at different points but the conditions largely operate on the same
facts, so I was trying to save time by asserting all the facts once and then
doing something like:

memory.fireAllRules(agendaFilter1);
// do something not related to drools
memory.fireAllRules(agendaFilter2);


It doesn't seem to be working though. Should I just put the rules in
different rule bases and assert the facts before I use it.

Reply via email to