In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Scheduling a Workflow with a Powershell Script

kgalbert
9 - Comet

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

11 REPLIES 11
harshal_narkhede
6 - Meteoroid

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

preeti121288
6 - Meteoroid

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?

 

 

Labels
Top Solution Authors