Moving this discussion to a more appropriate category…
No, just “local” context for each change node – that way, I can keep any received or computed values between msgs. From the Proposed Changes section of PR #1515:
In order to use the Change node as a toggle (for instance), the previous value received needs to be saved to local context (only available to this change node). This new feature provides a
local.pulldown option (similar to
global.) to set/get a named variable.
The local context variables also can be retrieved in JSONata expression, using a new
$flowContext(name)function. Again, similar to the
$globalContext(name)functions, but without the potential for conflicting variable names.
Now that 0.19 is being actively worked on, is this a good time to add this feature?