Open rahamathulla-ai opened 3 years ago
I have a requirement to execute composite rule in a manner that
each rule have a set of facts. The engine should execute each rule with its associated facts and find out the whole rule.
I think the UnitRuleGroup is an implementation of AND like condition. is there any rule implementation available for OR condition.
Please suggest
ActivationRuleGroup can do it well
ActivationRuleGroup
ActivationRuleGroup is XOR logic, not OR logic.
https://github.com/j-easy/easy-rules/blob/ab75210854e06dff39469bd0a42b8c45ebf826ed/easy-rules-support/src/main/java/org/jeasy/rules/support/composite/ActivationRuleGroup.java#L32-L33
I have a requirement to execute composite rule in a manner that
each rule have a set of facts. The engine should execute each rule with its associated facts and find out the whole rule.
I think the UnitRuleGroup is an implementation of AND like condition. is there any rule implementation available for OR condition.
Please suggest