Run Workflows by Command Line

Workflows can be run via command line using AlteryxEngineCmd.exe which is located in the Alteryx program files root directory. You must have an Engine API license to use AlteryxEngineCmd.exe.

To run workflows via the command line, add the Alteryx root path to your Path System Variables on your computer.

Accessing your system variables will vary between operating systems. The following is the general process.

  1. On your desktop, access your computer's system security options.
  2. Access the advanced options.
  3. Access the environmental variables.
  4. Access the path variable.
  5. Edit the variable by typing or pasting the Alteryx path. The default path is C:\Program Files\Alteryx\bin.

Use this method unless you are running the AlteryxEngineCmd.exe from within the Alteryx root folder, or are using the entire path to the executable:

"C:\Program Files\Alteryx\bin\AlteryxEngineCmd.exe" MyWorkflow.yxmd

Functions