Rules page
Rules Administration UI page displays a table of system and tenant specific rules. Each rule has a separate card. You are able to do following operations:
规则管理界面以卡片形式展示了系统和租户规则,你可在该界面进行如下操作:
- 导入或创建规则。
- 导出规则为JSON。
- 暂停并激活特定规则。
- 删除规则。 Suspend and Activate particular Rule Delete the Rule See Rule Engine documentation for more details. image Rules details
规则详情
Each rule is a represented as a separate card. You are able to edit rule components and review the rule events in the Rule details panel.
可在规则详情面板编辑规则组件并查阅规则事件。 image
You are also able to review rule life-cycle events, rule stats, and errors during message processing. Please note that in case of frequent errors the error messages are sampled.
可在消息处理过程中查看规则生命周期事件、规则状态、以及规则异常。 image Rules import/export
规则导入导出
Rule export 规则导出
You are able to export your rule to JSON format and import it to the same or another ThingsBoard instance.
可将规则导出为JSON格式,也可以以JSON格式导入规则。 In order to export rule, you should navigate to the Rules page and click on the export button located on the particular rule card.
image Rule import
Similar, to import the rule you should navigate to the Rules page and click on the big “+” button in the bottom-right part of the screen and then click on the import button. image Note All imported rules are in the suspended state. Don’t forget to activate your rule after import.