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

Ability to get how many conditions passed #43

Open
tekmosis opened this issue Dec 10, 2015 · 0 comments
Open

Ability to get how many conditions passed #43

tekmosis opened this issue Dec 10, 2015 · 0 comments

Comments

@tekmosis
Copy link

If you have multiple conditionals in a rule you may need to know how many conditionals actually passed even though the evaluation of the rule may not equal true.

For example, in a LogicalOr with 6 conditions, if you meet 50% of the conditions you may do X, if you meet 90% then Y triggers.

This would be useful to access both in the Rule callback and from outside of the rule.

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

No branches or pull requests

1 participant