Don't know details of your problem but it's typical situation where
you can use StatelessSession, insert one fact at time and use
activation-group.
Pavel
2010/7/22 tom ska <tiberium.linux(a)gmail.com>:
Hello,
I have a problem with defining rules. I insert many, many objects (facts) to
ksession object (StatefulKnowledgeSession). I want to fire rules for all of
them(facts), but I want to fire only one rule from all rules for each one
fact(not always this same rule is fired, because I use salience).
activation-group is not appropriate, because it works only with one object
(fact) - rest is not processed by engine.
Second question is: how can I stop processing rules, bot only for one fact,
not for all of them.
Thanks,
tom.
P.S. forgive me my English... :)
P.S.2 Firstly I want to do this in DRL, then, I'll try with XLS, and write
post if I would find problems...
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users