Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mutually excluded rules in rule-flow #9

Open
aitrusgit opened this issue Oct 5, 2017 · 0 comments
Open

Add mutually excluded rules in rule-flow #9

aitrusgit opened this issue Oct 5, 2017 · 0 comments

Comments

@aitrusgit
Copy link
Contributor

We need "something" to achieve such functionality. Now users had to make their condition closures mutually exclusive to achieve such effect but that leads sometimes to a code overhead and a small evaluation overhead.

Drools has the concept of "activiation-group" (or smtg like it) which basically restricts activation of only one rule per group. However something like this might be an overkill, we can simply set a flag at rules-flow level that modifies such behavior.

I am happy with not supporting that on simple ClosureReducers ( closures expresed inside an array [] and not in a rule flow)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant