Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.
SOLVED

Stop creating output or blank output evenif single error comes

Mukeshy12390
8 - Asteroid

Hi All - 

 

Is there way to stop or kill workflow right away when any error comes up. It should not create any output even blank output. 

 

I have been trying with Msg too /Test /workflow setting to "cancel Running workflow on error" /Limit Conversion errors.

 

but it end up creating blank output when there is any error I'm try build something which should not create any output even blank output.

 

Regards,

Mukeshy12390

2 REPLIES 2
SPetrie
13 - Pulsar

Is AMP enabled in the workflow? Disabling AMP may help if you havent done that already. Because of the way it processes records, it could be trying to make the file before an error occurs.

Make sure that the file output is the last step in the process or that the error test is placed in a position that it will trigger before file output starts.

 

Mukeshy12390
8 - Asteroid

thanks Spetrie for the response. 

 

I have converted entire workflow into  Macro and before running macro added msg to test and generate the error on different workflow from where I'm calling this macro.

 

Regards,

Mukesh Y