Alteryx Designer Discussions

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

ERROR while running bat files in After run event

Highlighted

Hi All,

 

I am running my bat file in event AFTER RUN and when i run i get below error messages.

 

Designer x64 The Designer x64 reported: Error running Event #7: The external program "C:\AUTOMATION\Scripts\Table_log\Updatesql.bat" returned an error code: 1: The system could not find the environment option that was entered. ¶ (203)

 

And these scripts are used in all the workflows.But it fails only for few f them.Can you please help me understand why its failing and the resolution

Highlighted
17 - Castor
17 - Castor

Hi @AnoopAuradkar1387 

 

The error "The system could not find the environment option that was entered" generally means that there is an environment variable referenced in the bat file that the system can't find, when it's running the bat file. 

 

This is very difficult to debug without seeing the bat file in question.  Can you post it or an image if it's not too long.

 

Dan

 

 

Highlighted
8 - Asteroid

Thanks for the reminder! If I could just remember these most basic things...smh. 🙂

Labels