How do I use ProcessRobot variables in a PowerShell script?
I'm testing a simple PowerShell script that would invoke a CSV file, and I would like to use a ProcessRobot variable that contains the file path of that CSV. However, when I run the action, I get an error saying that the file path cannot be recognized and that I need to verify that the path is correct.
I've verified that my file path is correct.
How do I actually use ProcessRobot variables inside my PS script?
Surround with single quote.
$outputfile = '%My_CSV_File%' Invoke-Item $outputfile