easy-rules
easy-rules copied to clipboard
Is it possible to have a default rule?
Is it possible to have a default rule? means if we have multiple rules in YML file. and No one rule condition is satisfied(True) in that case we should have a default rule which would be execute. just like a conditional statement if our any one rule is satisfied then default rule will not be execute and if no one rule is satisfied in that case default rule will be execute?
I think you can define a lowest priority rule to solve the problem(call default rule). this rule's condition always be true, if all rules not satisfied(True),I think default rule will be satisfied(True) .
Does this answer solves this issue?
Possible duplicate of #364