AnsweredAssumed Answered

sent emails in a foreach doesn´t work

Question asked by marianmm on Dec 7, 2017
Latest reply on Dec 11, 2017 by rogerb

I have a nintex workflow that read a collection and sent one email for each item. For each element in this collection, have to read a item in other list where obtains the recipients of this emails.

In the 4th iteracction the workflow is suspended and show the following error:


System.Net.WebException: Exception encountered while processing the HTTP request. Exception details: 'HttpClient.SendAsync task was canceled. TraceActivityId=cc9dc52b-1b8e-dafa-bcf0-0097770175f0'.
at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.Activities.Hosting.HostedHttpExtension.HttpRequestWorkItem.HttpRequestWorkItemAsyncResult.End(IAsyncResult result, Int32& responseCode)
at Microsoft.Activities.Hosting.HostedHttpExtension.HttpRequestWorkItem.OnEndComplete(ScheduledWorkItemContext context, IAsyncResult result)