Data forwarding provided by the rules engine function can only process data that is published to topics. This topic describes the procedure of data forwarding and the formats of the data at different stages during data forwarding.
Data published to custom topics is forwarded transparently to the IoT Platform by data forwarding. The structure of the data is not changed. The following figure shows the data forwarding procedure:
Data published to system topics is in the Alink JSON format. During data forwarding, the data is parsed according to the TSL and then processed by the SQL statements of a rules engine. For more information about the data format, see Data format
. The following figure shows the data forwarding procedure:
Note During data forwarding, parameter
params in the payload is replaced by parameter
items after the data is parsed according to the TSL.