Variables "in memory" usage

I recently noticed that every time I rebooted the hub, some flows stopped working and were producing an error message on if statements related to variables. What I saw was that on reboot, every variable that was flagged “in memory” was deleted until the flow setting that variable activated again.

The fix I’ve tried is to recreate the variables in the flows without the “in memory” box checked.

What is the purpose/meaning of a variable being “in memory”? I (incorrectly) expected it would make the variable more easily accessible, but the result was the opposite.

@espen do you know how selecting “in memory” is different than not selecting it?

The value is stored in memory which is cleared on reboot.
If its not checked it will be stored on disk and be used also after reboot.

1 Like