Upgrade from version 4.1.0 to 4.3.1.5 caused rule chains with loops to stop working.
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:
- make rulechain where you do something
- send telemetry to another rulechain which is used for loop
- set debug on flow - rulechain
- See error
Expected behavior Telemetry is looped until all data is processed and then telemetry is saved via root chain.
Screenshots
Error:
Rulechain i want to loop:
Rulechain for loop:
Source: thingsboard/thingsboard