I don't have NR with me so I can't look at your flow. But have you enabled persistent context so flow variables get restored on restart?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How do I set flow variables to preserve their value over a restart? | 6 | 750 | 9 December 2022 | |
| Counter Resets randomly | 4 | 163 | 8 December 2023 | |
| Node-red-contrib-counter | 27 | 4353 | 13 July 2020 | |
| Reboot? Restart? | 6 | 1098 | 7 June 2021 | |
| Problems understanding and implementing Persistent Storage | 42 | 1300 | 31 August 2023 |