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

Question

Question

Email Errors terminating WF:

asked on November 24, 2016

We have a workflow that starts when it sees a paycheck arrive in a folder. It retrieves the employee name and then does a Query of a database for the employees name. From there we send an email to the employee and attach the paycheck.  This has worked for 6 months and now over half the workflows are terminating. Message in workflow says "The operation has Timed out"

I have error log of one of the failed instances.

I created a mass email WF to test with.  This workflow checks for active employees and then sends every employee and email. First two tries worked. 95 emails.  The last try failed with messages of "Entry not found". I have attached error log for this.

0 0

Replies

replied on November 28, 2016

The error in the first attachment indicates an issue with your mail server, not Workflow. The "entry not found" in the second one indicates that the entry no longer exists when Workflow tried to download it to attach it to the email. This could happen if the entry was deleted or if the user specified in the connection profile does not have rights to see the document in its current location.

0 0
replied on November 28, 2016 Show version history

Thanks all.

Our third party IT Department has increased the timeout to 10 minutes within the email server and this seems to be working again. What do larger companies do when sending hundreds of emails with one workflow? I have added my workflow for feedback. Should I be increasing timeout on the query as suggested? To what if so.

0 0
replied on November 28, 2016

The query seems to have run just fine. You can increase the timeout on it, but it won't make a difference.

Do you know what happened in the mail server to cause the timeout? Was it overloaded or did you run into some sort of rate limiting rule to protect it from spamming? It's pretty weird that a sending emails sequentially like this workflow does would cause it to time out.

0 0
replied on December 23, 2016

It sounds like it was in the spam filter or a setting within the email server to limit the amount of emails sending from the same account.  They have increased a timeout on the email server plus increased the number of outgoing connections to 100.

Since they have done this we have had no issues with payroll.

0 0
replied on November 24, 2016

Hi Mike.

in which activity  you get that error  query or email? 

if the answer is the query activity  try to set a time out limit on your activity , like this:




Regards!!
 

0 1
replied on November 24, 2016

Thanks for the response.

I believe it is the email but I am not sure.  So if I add the custom timeout does that just delay the Query or does it just allow a longer time for the email to try and send.

I tried the workflow again and got a different error after our IT company made some tweaks. The below is our lastest errors.  Over half the emails sent but

    11/24/2016 1:38:39 PM    E-mail
(_EmailWithAttachments)    Service not available, closing transmission channel. The server response was: 4.4.1 Connection timed out

0 0
replied on November 24, 2016

Hi Mike

if you add the time out on your query help it if the query need more time to complete .

and with that new error sound like you have problems with your SMTP

Regards!!

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

Sign in to reply to this post.