community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

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

ERROR while running bat files in After run event

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

Nebula
Nebula

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

 

 

Labels