You are viewing limited content. For full access, please sign in.

Question

Question

Will an email server error terminate the workflow ?

asked on August 2, 2018

I have a Workflow that emails a group of customers as its last activity.  One of the emails being sent to, has created a server error, so I now have a Workflow error as attached.  Does this stop the Workflow at this point or does it carry on processing ?

Colin. 

snip.PNG
snip2.PNG
snip.PNG (20.25 KB)
snip2.PNG (7.76 KB)
0 0

Replies

replied on August 2, 2018

By default from my experience it will terminate the instance. For this reason I usually add a Try-Catch activity. In the Try part of the activity I put the email activity and then leave the Catch branch empty. This way if it fails on an email it will still try to process the rest of the workflow. You could put in other activities in the Catch if you so choose to notify someone that there was a problem.

0 0
replied on August 2, 2018 Show version history

Thanks Blake yes That clarifies things for me.   Yes, a try\catch would be a good idea - I'll implement that.

Colin.

0 0
replied on August 2, 2018

You can add a task error handler for SMTP errors (or expand the existing one) for transient errors like timeouts or rate limiting.

The error in your screenshot is a configuration error on the mail server side and will prevent all emails from being sent.

1 0
replied on August 2, 2018

FYI, I would love an Advanced Workflow training class at Empower that went through the Workflow Administration Console. There is a lot in there and I don't think most Workflow Administrators know what it can do.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.