Hi everyone,
I was trying to use the Run Command feature in Alteryx Designer to run another workflow just after the completion of one workflow without errors. The original workflow should run as per the schedule, but when it runs I am getting the below error:
Error: Designer x64: Error running Event #6: The external program "C:\Program Files\Alteryx\bin\AlteryxService.exe" returned an error code: 12: The system could not find the environment option that was entered. (203).
Is there some environment variable that should be added, please guide me how to solve this error.
Thanks in advance!
Hi,@Akshay_K
Maybe you need snap the event diag-box to show all option, then we can help you find out the cause.
Your Command line can input like:
C:\Program Files\Alteryx\bin\AlteryxEngineCmd.exe "MyWorkflow.yxmd"
BTW, If use AlteryxEngineCmd.exe, you need have automation license first.
Hi @flying008,
I tried both paths:
C:\Program Files\Alteryx\bin\AlteryxEngineCmd.exe
C:\Program Files\Alteryx\bin\AlteryxService.exe
I have two licences:
Alteryx Designer and Alteryx Desktop Automation
Below mentioned are the options given:
Run Event When: After Run Without Errors
Command: C:\Program Files\Alteryx\bin\AlteryxService.exe
Command Arguments: addtoqueue=Sample path\Trial.yxmd, Sample DESKTOP-ID, Sample Controller Token, true
Error messages:
Error: Designer x64: Error running Event #2: The external program "C:\Program Files\Alteryx\bin\AlteryxEngineCmd.exe" returned an error code: 2: The system could not find the environment option that was entered. (203)
Or
Error: Designer x64: Error running Event #6: The external program "C:\Program Files\Alteryx\bin\AlteryxService.exe" returned an error code: 12: The system could not find the environment option that was entered. (203)
Hi,@Akshay_K
Try the Command syntax : (if your path both are right.)
Command: (there is no quotation marks! )
C:\Program Files\Alteryx\bin\AlteryxEngineCmd.exe
Command Arguments :
"D:\abc\Trial.yxmd"
OR:
This solution didn't work for me. Getting same errors.