I thought of using declarative agenda because for each fact I would like to know all potential rules which it could activate but I want finally to fire (execute RHS) only for the rule with highest priority. Thanks to adding rule with @activationListener(‘direct’) I am able to block all rules, add them to some list and later unblock and execute rule only the highest priority.
Do you think I can use some other Drools API, features to achieve this kind of behaviour? Is it possible to unblock rule based on salience? (something like: when $a : Activation(*salience *> $value) then unblock) Thanks, Marcin -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Declarative-agenda-final-API-tp3684502p3693182.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
