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

Question

Question

Workflow: Email action requiring restarting Workflow Service

asked on September 24, 2014

Hello,

 

We have a particular workflow that has given us some issues lately. This workflow emails out a copy of a document to an email address which is actually a Google group so that multiple people will get it. It keeps terminating with the following error: 

 

Reason: Failure sending mail. Failure sending mail. Exception of type 'System.OutOfMemoryException' was thrown.

 

But restarting the Workflow Service cures it. Is there a reason this is happening and something we can do to fix it on our end? Thank you!

0 0

Replies

replied on September 24, 2014 Show version history

How much memory is your Workflow Server using when you need to restart it?

 

Edit: after some more research, it looks like there is a possible bug in the .Net SMTP client Workflow is using under the hood where it temporarily runs out of memory. The recommended workaround from Microsoft is to retry the action.

You can add a task error handler in Workflow for this error to retry the email a minute later.

0 0
replied on September 29, 2014 Show version history

Hi Phillip, 

If your question has been answered, please let us know by clicking the "This answered my question" button on the appropriate response.

If you still need assistance with this matter, just update this thread. Thanks!

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

Sign in to reply to this post.