Stand with Ukraine flag
Pricing Try it now
Community Edition
Getting Started Documentation Devices Library Guides Installation Architecture API FAQ

rule chain

Since TB Version 3.3.3

image

Forwards the message to the selected rule chain. Since TB Version 3.3.3, the target rule chain may also output the results of processing using output node. The output node enables reuse of the rule chains and extraction of the processing logic to modules (rule chains).

Configuration:

For example, you may create a rule chain that validates the incoming message, and process valid and invalid messages separately.

image

The logic of message validation may be reused in other rule chains. For this purpose, we extract it in a separate rule chain.

image

Notice the “Output” nodes we use in validation rule chain. The names of the output nodes should match the outgoing relations of the “rule chain node” in the main rule chain.