Hello,
We have a workflow which checks a few conditions and then executes a custom workflow activity plugin. That plugin calls an external API to send out emails. The worklfow is failing with a timeout error. After further research we found out that it is timing out in our end . We added a timeout setting in our code and that did not help. How can we increase the timeout in the CRM server itself? Our organization is On-Prem, 8.2. The error log is the following:
Workflow suspended temporarily due to error: Unhandled Exception: System.Net.WebException: The operation has timed out
at System.Net.HttpWebRequest.GetResponse()
at CustomWorkflowActivities.Common.GetEmailAddressID(String key, String secret, String email, IOrganizationService _service, EntityReference contactGuid)
at CustomWorkflowActivities.Campaign.Execute(CodeActivityContext executionContext)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
*This post is locked for comments
I have the same question (0)