The JSONata expression editor is a great tool for testing JSONata expressions.
It would be good if this tool could be extended to test expressions using the context functions ($flowContext()
and $globalContext()
).
The idea is that the JSONata expression editor is using the actual context values (as shown in the context window) for the calucation of the result in the Result window.
So for the above example: the Result window should not say:
Cannot test context functions
$flowContext or $globalContext
but
ring not logged in slack channel as ring_counts_this_day = 0
So the subexpression $flowContext('ring_counts_this_day')
becomes 0
as this is the current value displayed in the context tab for that context variable.