Happy 8th birthday to the Maveryx Community! Take a walk down memory lane in our birthday blog, and don't miss out on the awesome birthday present that all Maveryx Community members get to take advantage of!
Interested in getting an email notification whenever a workflow is executed and fails? This is particulary handy if you have created a workflow, published it to a gallery (Alteryx cloud solution) and you've enabled other users with the ability to run your workflow from the gallery so you have the option of following up to offer assitance. What follows are step-by-step instructions for setting up an email event in your workflow.
Click anywhere on the canvas, away from your workflow so you see the Workflow Configuration window.
Click on the ‘Events’ tab. Make sure ‘Enable Events’ is checked.
Click on the ‘Add’ dropdown and select ‘Send Email’.
A new widow, ‘Edit Event’, will open. On the ‘Run Event When:’ drop down, select ‘After Run With Errors’. Notice other options are available as well - 'Before Run' and 'After Run', for example. Add your email address to the ‘From:” and “To:” Lines. The email will be automatically pull in information regarding your workflow errors in the Subject and Body of the email.
Even if you save this workflow to the Gallery (public or private), the settings will be retained. In other words, if this workflow is executed from the Gallery - even if another user executes it - whoever your specificed as the email recepient will continue to get an email. Notice you are not just limited to getting emails if a workflow has errors. You can set it up so you get an email before run, after run, or when a workflow run without errors. You can also include an attachment to the email so if your workflow produces an output, you can attached that output file to the email.