We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Automation: Alteryx Workflow using Batch File with XML file as input parameters.

adluayon
7 - Meteor

Hi All,

 

I want to automate my workflow any guide on how to do this?

1. A batch file will be called in a Task Scheduler.

2. Then execute a workflow with xml as file input.

3. Then create a log file.

 

Hope you can guide me on how to do this.

Thanks.

4 REPLIES 4
Qiu
21 - Polaris
21 - Polaris
adluayon
7 - Meteor

@Qiu 
I want to execute like this “C:\Program Files\Alteryx\bin\AlteryxEngineCmd.exe” C:\Alteryx\Workflows\ EventWorkflow.yxmd
But i think i dont have the required license to use the command line. 😅😅😅
https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/How-to-run-a-workflow-from-an-event...

adluayon_0-1654673219363.png

 

IraWatt
17 - Castor
17 - Castor

Hey @adluayon,

Don't think you can run a workflow externally from designer without a Server license. However if you want to run a batch script before the workflow runs you can add an event for it in the workflow configuration:

IraWatt_0-1654674136301.png

 

 

adluayon
7 - Meteor

@IraWatt
Thank for pointing this out. I already suspected it is due to license since i encountered a license error when using this command “C:\Program Files\Alteryx\bin\AlteryxEngineCmd.exe” C:\Alteryx\Workflows\ EventWorkflow.yxmd

Labels
Top Solution Authors