I was trying to convert an array to json via JSON.stringify but for some reason it throws an error " Failed to decode Array to non-slice".
Is there any restrictions on scope argument in jsenv function in workflows ?
The error was :
I ended up by constructing the json string manually but is there a more elegant way to do it ?
Thank you in advance for your help,