When I write a file to {{ $execution.id }}.json it creates a file named 123.json. when I write the file to backup/{{ $execution.id }}.json the file name is {{ $execution.id }}.json.
Expressions are not working when writing outside the root folder. However, the file is created and the data is accurate.
You are on windows and npm? Doesn’t seem like a comparable example if you are not using the same setup. But it is good to know it works for some setups out there.
As per Jon on discord, “It should be fine, I assume when you say on windows you are using an npm install and not docker? I suspect the / might need to be \ or // or \/"
I will try to different combinations tomorrow and report back.
@Jon Thanks Jon! Changing from the traditional windows \ to / between directories fixed the issue. However, this still feels like a bug, so I am not marking it resolved in hopes someone will handle this issue.