Alteryx Designer Desktop Discussions

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

How to capture Error Message and send mail to the user

amsrivastav
8 - Asteroid

Hi All,

 

I have created one Alteryx flow which using Control Container to maintain sequential execution.

 

Can you please suggest how to capture error message when Alteryx Flow fails and send email with the same message to the user.

 

Please suggest!!

 

Thanks

Amit 

7 REPLIES 7
Swathi
8 - Asteroid

Hi @amsrivastav

 

You can do that following the steps below: 

 

1) Click on the whitespace of the canvas on the workflow

 

2) In the configuration window, go to events 

 

3) Click on Add , Send Email 

 

then you can leave the body and the subject as it and test it for yourself first and then change on how you think it needs to look 

 

Please mark as a solution if it helps 

 

Capture.PNG

amsrivastav
8 - Asteroid

Hi Swathi,

 

Thanks for the reply.

 

I am looking forward to capturing the error message and then send the same error message over the mail.

 

Below solution works well if i want to send HARD CODED message every time error occurs.

 

Please suggest!!

 

 

Peachyco
11 - Bolide

Hi, @amsrivastav .

 

That code isn't exactly hard-coded. At runtime, Alteryx will replace everything between the % signs with the proper info.

 

For example: If your workflow does encounter an error, the portion that reads %OutputLog% will be replaced by the actual output log at runtime.

Swathi
8 - Asteroid

@amsrivastav can you elaborate on what exactly you need to capture

amsrivastav
8 - Asteroid

Hi @SWA

I need to capture error detail when ever alteryx flow fails.

 

Thanks

Amit 

JALINDS
5 - Atom

Check out this article.. There does not seem to be a way to use the email tool to send but can set up the on failure send email event::
Solved: results message - Alteryx Community

Raj
14 - Magnetar

@amsrivastav Make sure you  change run events on thing as i can see this is Disabled into the image.

Labels