We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Run Event When After Run With Error

tamluenwai29
8 - Asteroid

Dear All, 

 

I have scheduled a workflow in Alteryx and configured it to send me an email notification in the event of an error during execution.

 

The workflow has completed successfully, and the data has been loaded into the database. However, I still received an email indicating that an error occurred.

 

Can anyone provide insight into how to address this issue or identify any potential misconfigurations? Thanks!

 

Attached the Scheuler Result, Email and the configuration of Event down below. 

Event.pngScheduler.pngEmail.png

3 REPLIES 3
John217Ross
5 - Atom

Based on your description, the most likely reason your Alteryx workflow is sending an "On Error" email despite a successful run is a misconfigured event. While the workflow itself successfully loaded the data, an "After Run" event or a tool within a container might be encountering an error or a non-zero exit code that triggers the notification. To troubleshoot, review the full Alteryx log for any warnings or errors, and check the configuration of any events or external commands that run after the main workflow completes. 

tamluenwai29
8 - Asteroid

Thanks for your reply, 

 

May I know where I can check the log? and also I would like to know what's the meaning of " non-zero exit code"? Thanks!

Gaurav_Dhama_
12 - Quasar

Check if below option in your workflow configuration is unchecked.

Gaurav_Dhama__0-1755495978554.png

If so, you can enable it to prevent the workflow from running in case of error. But it is not necessary that all errors are really a problem, so in your case if your workflow is running fine, despite the error, identify which part is raising an error using debug mode and fix that.

Labels
Top Solution Authors