I was just upgraded to Alteryx version 2024.1 by my firm and now I am running into an issue where if there is an error anywhere in the workflow no emails are sent, rather than what was happening before, where only certain ones wouldn't send. For some context on the workflow, I have 10+ email distribution lists each which need their own email daily if they have valid records to send. The issue that I am facing is that it is extremely rare that all distro lists will have records on a given, so due to that, I am pretty much guaranteed to have at least one error everyday. Is there any way to force the workflow to send emails despite there being errors? For a bit more context the errors that I am getting are coming out of one to three macros that create the charts which make up the body of the emails. I have thought about putting the macros inside a control container which will only activate if there are records coming out of the previous tools but I was hoping there was an easier solution that wouldn't require me to set up 10+ more control containers.
Hi,
Sorry if these answers seem obvious - but they are worth checking and you didn't mention them in your post.
Have you checked whether the option "Cancel Running Workflow on Error" is enabled in the Canvas Runtime settings?
If you disable this, the workflow should continue to run (and send emails) even if there are errors. However this will still send emails if there is a genuine problem with your workflow rather than zero rows.
A safer way to do this would be to use control containers, as you mention.
If it isn't the "Cancel Running Workflow on Error" setting, I'd run the workflow with outputs off to see where the error is - possibly you have an error that is preventing data from flowing to the other outputs.
C
I did check that, and it was not selected. The workflow runs fully through but won't send the emails, I did make it work by adding control containers, however since each distro list has 3 macros all of which need separate control containers as well as one that decides whether to actually send an email I'm at over 40 control containers in this one workflow. I was hoping there was a way to simply force the workflow to send emails even with errors.
User | Count |
---|---|
107 | |
82 | |
70 | |
54 | |
40 |