Hello Everyone,
I have a workflow that runs a simple powershell script that moves, renames, and deletes some files at the end of a workflow. It works without error when I manually run the workflow, but when I schedule it (I have designer with desktop automation) to run at night when the computer is locked, I get an error. I have attached a screenshot of my Run Command tool and workflow results.
Has anyone come across this before? It's probably a Powershell problem.
Thanks,
Ken
Solved! Go to Solution.
Hi @BenMoss
There is no issue with scheduling using the standard interface. I was just exploring if we can run an alteryx workflow from the powershell
I am also facing the same issue while running Alteryx workflow in Alteryx Gallery which is having PowerShell script. Workflow runs fine in my machine but on gallery it is giving same error as mentioned in above query.
"Run Command (4) The external program "powershell" returned an error code: 1"
does anyone has any solution for this?