Rule conflict detection [message #1738590] |
Thu, 21 July 2016 04:03  |
Eclipse User |
|
|
|
Hi guys!
I've created 2 rules to test the rule conflict detection of the rule engine like:
1. If an Opensensor is detected(opened), then lock a doorlock.
2. With same trigger & condition, then unlock the doorlock.
The result was that the first rule was executed(lock), and then the second rule was also executed(unlock).
The result shows that ESH doesn't support the rule conflict detection yet, right?
If it's "yes", please let me know about any plans what you have to support it.
[Updated on: Thu, 21 July 2016 17:24] by Moderator
|
|
|
|
|
Re: Rule conflict detection [message #1738668 is a reply to message #1738590] |
Fri, 22 July 2016 01:32  |
Eclipse User |
|
|
|
I'm agree with Marin. The rule conflict detection is out of scope of the Rule engine. Also it is very complex task. For example how do you know that the triggers of the both rules are same? The one can be subset of the other. The same is with conditions, and actions. Also if you have a list action which can be executed by a rule, you may want to split them into two rules for clarity. The problem is the rule engine can't know the behavior of executed actions.
I think the conflict detection is responsibility of rule creator.
|
|
|
Powered by
FUDForum. Page generated in 0.10425 seconds