Answered by:
How to handle sharepoint 2013 designer workflow errors

Question
-
How to handle SharePoint 2013 designer workflow errors using workflow manager. We have critical workflows that need sendemail activity. When sendemail or smtp fails entire workflow suspends or fails which is not good.
How to handle SharePoint 2013 designer workflow errors using workflow manager?
MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead
Saturday, November 9, 2013 9:25 AM
Answers
-
Hey,
So lets backup a little and clarify a few unknowns here. Is this a new workflow that you are building which is misbehaving or a workflow that worked flawlessly and then suddenly crashed? Also, are all your workflows facing this issue or only a few?
Assuming that you have all your SMTP configuration setup correctly in your SharePoint Central Administration, I would highly recommend to add several Send Email Actions at several steps of your workflow and find out at what stage the workflow misbehaves.
When I run into this issue, changing the condition in the workflow condition has solved the issue.
I could be of more help if you provide more information about the workflow you are building but for now this is the best info I can provide.
Thanks
Daniel Christian (MCTS)
- Marked as answer by JasonGuo Monday, November 18, 2013 1:19 AM
Sunday, November 10, 2013 2:33 PM
All replies
-
Hey,
So lets backup a little and clarify a few unknowns here. Is this a new workflow that you are building which is misbehaving or a workflow that worked flawlessly and then suddenly crashed? Also, are all your workflows facing this issue or only a few?
Assuming that you have all your SMTP configuration setup correctly in your SharePoint Central Administration, I would highly recommend to add several Send Email Actions at several steps of your workflow and find out at what stage the workflow misbehaves.
When I run into this issue, changing the condition in the workflow condition has solved the issue.
I could be of more help if you provide more information about the workflow you are building but for now this is the best info I can provide.
Thanks
Daniel Christian (MCTS)
- Marked as answer by JasonGuo Monday, November 18, 2013 1:19 AM
Sunday, November 10, 2013 2:33 PM -
Thanks Daniel. So I can add a condition that if sendemail fails move forward or stay at the same stage or update stage with sendmeial failed and then it will not cancel the workflow right? Currently workflow cancels when smtp is down.
MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead
Friday, December 13, 2013 8:45 PM -
Amit,
Did you get resolution for this?
If so, can you share your resolution?
Thanks,
Srikanth
Sri
Tuesday, March 18, 2014 4:16 PM -
Dan,
In my requirement, the workflow should proceed even if there is an issue with SMTP server and send email activity fails.
Is this achievable through designer workflow?
Is there try catch type activity we can implement?
Thanks,
Srikanth
Sri
Tuesday, March 18, 2014 4:18 PM -
Yes Srikanth,
We fixed it with parallel activity so if one parallel sendemail fails other activities continue.
MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead
- Proposed as answer by Srikanth_S Wednesday, March 19, 2014 6:46 AM
Wednesday, March 19, 2014 1:45 AM -
Thanks a lot Amit. It helped me.
Sri
Wednesday, March 19, 2014 6:46 AM -
Entire workflow fails when sendemail fails, there is no workaround. Does parallel activity work for you Srikanth? our workflow fails/cancels when sendemail fails in serial or parallel sendemail.
MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead
- Edited by Amit Lohogaonkar sharepointer Tuesday, February 10, 2015 7:14 PM
Tuesday, February 10, 2015 5:51 PM