#16190·thingsboard

Upgrade from version 4.1.0 to 4.3.1.5 caused rule chains with loops to stop working.

Author: ruzickaRVTECHCreated Sep 24, 2026Updated Sep 25, 2026
Labelsquestion

It seems the new version introduced a validation mechanism that prevents rule chains from looping. Previously there was an issue about processing data through a loop, and the solution approved here in #7577 is the exact pattern we have relied on for a long time. Is there a workaround or a way to bypass this restriction?

The rule chain error is triggered on the second loop iteration at the 'flow - rule chain' node. This node points to a rule chain that routes back to the input of the main rule chain we are looping. first screenshot

Your Server Environment

  • Deployment type: docker-compose
  • ThingsBoard Version: v4.3.1.5
  • Professional Edition

To Reproduce Steps to reproduce the behavior:

  1. make rulechain where you do something
  2. send telemetry to another rulechain which is used for loop
  3. set debug on flow - rulechain
  4. See error

Expected behavior Telemetry is looped until all data is processed and then telemetry is saved via root chain.

Screenshots Error: Image

Rulechain i want to loop: Image

Rulechain for loop: Image