Alteryx Designer Knowledge Base

Definitive answers from Designer experts.
Andy Uttley, Alteryx ACE, makes music with Alteryx | Math + Music

Error: "The system could not find the environment option that was entered" when running chained workflows in Designer


Environment Details

Running chained workflows in Designer produces the following error using Run Command in workflow events:


C:\Generic Folder\Scripts\.bat" returned an error code: 2: The system could not find the environment option that was entered. (203)


  • Alteryx Designer + Scheduler
    • Version: 2020.1.2.24185
  • ​​​​​​​Chained Workflows / Apps

Note: This fix was confirmed on the above version and it's known what affects it may have on other versions, if any.



Utilizing AlteryxEngineCmd.exe to run workflows via Command Line requires an addition to the Alteryx root path in your Path System Variables on your local machine.


1. On the machine that is running the workflow go to the Windows search bar and type sysdm.cpl and press Enter.

2. On the new window, click the Advanced tab and then click the Environment Variables button.

idea Skyscrapers

3. Under the System Variables section, locate the PATH variable and then click on Edit.

idea Skyscrapers

4. In the Edit environment variables window, click the New button to create a new line at the bottom of the list and paste or enter the following default path:


C:\Program Files\Alteryx\bin

idea Skyscrapers

5. Click OK on all remaining windows and reboot the machine for changes to take effect.


Additional Resources