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"
Customer support service by UserEcho