However running this as a script in a workflow results in an error due to it not being a function.
If I use variables in the script the strings are not escaped.
[[testPath]] = "C:\test"
"[[testPath]]" => "c:est"
Servicio de atención al cliente por UserEcho