This project is read-only.

internal error when lounching powershell script workflow

Dec 6, 2013 at 5:08 PM

I may not have the correct syntax but I get en internal error when I try to launch my script.

I can execute my script with powershell, I works.

To launch it with the workflow, I tried two syntax :
Copy-Paste the entire script on the "script" field.
except parameters cause I'm using $site, $web, $list and $item that are said to be instanciated.
Call my script file by writing this in the script field :
& "myScriptPath -site $site -web $web -list $list -item $item"