Michael Katai wrote:
I've googeled and searched the mailing list archive, but i couldn't solve my
Every time i create a new rule (while runtime) i use:
PackageBuilder builder = new PackageBuilder();
Package pkg = builder.getPackage();
Every time, fireAllRules is executed, only the last, newest rule will fired.
Where is my mistake?
It's hard to tell, but I'm guessing that all the existing rules have
already been fulling matched and fired. Adding more rules will not cause
those old rules to rematch against existing data.
ruleBase (and factspace) is created as
session = ruleBase.newStatefulSession();
factspace = new FactSpace(session);
thanks in advance,
rules-users mailing list