Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

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