i want to use jsonata expression within the released function "Global Environment Variables".
The jsonata contains a logical function, which checks if a environmental variable exists. If not, it sets a default value, which is also stored within the Global Environment Variables section. I had trouble getting this to work. Therefore i decided to shorten the jsonata and observed that there is a functional difference between flow and global environmental section.
It seems, that i can´t reference inside a variable within the "Global Environent Variables" section.
Here is an example:
- In the global env section "globEnvWriteTopic" references "defWriteTopic"
- Reference the "globEnvWriteTopic" in an inject node
- Payload is empty
It works, if i´m using this reference in the flow section.
Is that an issue of the new release?