Forum Discussion
Workflow notifications by email just started to fail
NiteshRanjan, it is a 2013 workflow with only one instance. It fires for new submissions and any modifications, made to complete every time. I am assuming the email is firing, but not getting to me for some reason, thus my reaching out looking for ideas on how to troubleshoot.
Weird thing is, one that failed last night just worked this morning after I manually started the workflow.
Thanks, Kevin
- Matt CoatsJun 18, 2019Iron Contributor
KevinSJC I would consider NiteshRanjan's suggestion to consider using Microsoft Flow. Flow does a pretty good job of letting you know why a step might have failed, and Flow is generally a better tool than SP Designer's workflow toolset.
- KevinSJCJun 18, 2019Copper Contributor
Hi Matt!
I know nothing about Flow so this will be a learning curve for me I'm sure. I feel like I will duplicate my work and then end up with the same results as it seems like the POF is somewhere from the SharePoint farm at MS and our email server. The workflow is working sometimes and has been perfect over the last year, only recently has it dropped emails randomly. I was hoping for some logging that could be looked at to verify the email request was sent to the mail server and what was sent from the mail server for notifications. If the workflow itself was the issue, then I'd expect 100% of the time for failures.
Thanks, Kevin
- Matt CoatsJun 19, 2019Iron Contributor
KevinSJC, I see your point about mail logs. While I can't help you with that, I can tell you that you're facing a bit of a black box in the way that SP Designer kicks out emails vs. how Flow does it. With SP Designer workflows, you're leaning on a system account that you have little to no access to (I've not looked to see what logs are available for it). Flow requires that an O365 account send emails and does not use a system account--while this is inconvenient in that we don't have access to a system account anymore, it does give you complete visibility into that email account. So, problems would be less likely to occur in a black box.