We have extended our Early Bird Tickets for Inspire 2023! Discounted pricing goes until February 24th. Save your spot!

Alteryx Designer Discussions

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

Run Command feature in Alteryx Events

Akshay_K
5 - Atom

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!

4 REPLIES 4
flying008
12 - Quasar

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.

Akshay_K
5 - Atom

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)

flying008
12 - Quasar

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:

flying008_0-1658481750288.png

 

Akshay_K
5 - Atom

This solution didn't work for me. Getting same errors.

Labels