deliveredtechnologies / rulebook

100% Java, Lambda Enabled, Lightweight Rules Engine with a Simple and Intuitive DSL
http://www.deliveredtechnologies.com
Apache License 2.0
716 stars 124 forks source link

When ERROR_ON_FAILURE, set new rule status ERROR for rule that fails. #165

Closed harshavs closed 5 years ago

harshavs commented 5 years ago

Changes for this issue.

Set RuleStatus as ERROR when there is a RuleException. This is useful to identify the rule that failed. Currently, the rule that failed and all other rules not executed have status PENDING making it difficult to identify the errored out rule.