Emails when using AMP Engine
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
I have a workflow with the E-mail tool in it. When I do not use AMP Engine, Alteryx does not send an email if there is an error in the workflow. When I use AMP Engine, alteryx does send the mail.
Does anyone know how I can make sure that all emails are not sent until everything is ready?
Thanks in advance!
- Labels:
- AMP Engine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @IR_2021,
My first thought is that since AMP engine uses multi-threaded processing, it may start processing the email tool before hitting the error in another portion of the workflow. If you want to force the workflow to wait until all other steps are taken before sending the email, I'd recommend placing a "Block Until Done" tool in your workflow prior to the Email tool.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Taylor,
Thanks for your reaction! Unfortunately, the mail will still be sent if there is an error message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@IR_2021 One other suggestion - do you have the setting "Cancel Running Workflow on Error" set within your Workflow Configuration panel?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
We are actively looking into this difference in behavior with AMP.
This may be more of a difference in the way AMP handles errors in general and not specific to the Email Tool. We will investigate and let you know what we find.
I'm interested to know if Taylor's suggestion to use the "Cancel running workflow on error" setting works or not.
Thank you @taylor_butler for the suggestions!
Sr. Product Manager, cloud App Builder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi all,
In the workflow below I have checked the 2 checkboxes. If there is now an error in flow 1, the workflow stops. If there is an error in flow 2 or 3, the mail is sent.
I think TonyaS is right and it has to do with how AMP handles errors. For some of my workflows I can move forward with taylor_butler's solution. Unfortunately not for some more. This will require a different solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Update on this and the suggested workaround, I discovered that "Cancel running workflow on error" was never implemented with AMP Engine. We have added it to our roadmap to support this in a future release.
Sr. Product Manager, cloud App Builder
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks for the feedback TonyaS!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi TonyaS,
Is there known for when this is on the roadmap?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
This one is still on our Roadmap, it may potentially be delivered in 23.2.
