Hi guys,
I’m trying to include some extra functionality in my workflows, but I’m not finding a lot of ways to act on a device-independent state of the system. Using global variables could be a way to come around this, but they are not so easily managed. Above all they are workflow-specific, and they cannot be viewed or edited through a dashboard (to my knowledge). I’m trying to figure out the best way to do this, maybe I should create a new device to keep states.
A specific problem I’m experiencing now is that I can’t seem to mutate the values of global variables in JavaScript ‘function’ blocks in my workflows. What’s the best way to do this?