Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

"Send an Email" workflow action not working in SharePoint 2013

$
0
0

Hi,

I couldn't manage to get "send an email" action working in a custom list workflow developed in SP Designer 2013. All workflow actions except this one are functioning normally.

Working environment and error details can be seen below:

1) Environment Details:

- SharePoint 2013 Enterprise (March public and April cumulative updates are installed and configured)
- Workflow Client 1.0 installed
- Workflow Manager 1.0 and its cumulative update -> Installed
- Service Bus 1.0 and its cumulative update -> Installed

2) Error Details:

When I open workflow status page of the newly triggered list workflow and click info button next to "Started" statement, this message shows up:

Activity in progress Retrying last request. Next attempt scheduled in less than one minute. Details of last request:

HTTP InternalServerError to http://akusp01t:3333/sites/WF/_vti_bin/client.svc/

sp.utilities.utility.SendEmail

Correlation Id: 8ca5eb7f-4b4b-3476-98a9-8ad9c8214c4d

Instance Id: 7f50c7bd-a2d4-4747-a2f2-95fbc0eb2d71

After refreshing page, Internal Status gets changed to "Suspended" and info message now shows:

RequestorId: 8ca5eb7f-4b4b-3476-0000-000000000000. Details:

RequestorId: 8ca5eb7f-4b4b-3476-0000-000000000000.

Details: An unhandled exception occurred during the execution of the workflow instance.

Exception details: System.ApplicationException: HTTP 500 {"Transfer-Encoding":["chunked"],

"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["10"],"SPRequestGuid":

["8ca5eb7f-4b4b-3476-8d57-f568f6bb85df"],"request-id":["8ca5eb7f-4b4b-3476-8d57-f568f6bb85df"],

"X-FRAME-OPTIONS":["SAMEORIGIN"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;

RequireReadOnly"],"MicrosoftSharePointTeamServices":["15.0.0.4505"],"Cache-Control":

["max-age=0, private"],"Date":["Thu, 16 May 2013 12:17:33 GMT"],"X-AspNet-Version":

["4.0.30319"],"X-Powered-By":["ASP.NET"]} at Microsoft.Activities.Hosting.Runtime.Subroutine.

SubroutineChild.Execute(CodeActivityContext context) at System.Activities.CodeActivity.

InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager

bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.

ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

To sum up, it gives an HTTP 500 error.

When I browse to <comp. name>\Sites\SharePoint - 80\_vti_bin directory in IIS Manager and browse toClient.svc, browser gives HTTP 404-Not Found . All other web services here that I've tried gave proper responses.

When I check 15/LOGS, error message displays:

SharePoint FoundationCSOM ahjq1 High Exception occured in scope Microsoft.SharePoint.Utilities.SPUtility.SendEmail.

Exception=System.Configuration.ConfigurationErrorsException: Exception of type

'System.Configuration.ConfigurationErrorsException' was thrown.

at Microsoft.SharePoint.Utilities.SPUtility.SendEmail_Client(EmailProperties properties)
at Microsoft.SharePoint.ServerStub.Utilities.SPUtilityServerStub.InvokeStaticMethod
(String methodName, ClientValueCollection xmlargs, ProxyContext proxyContext, Boolean& isVoid)
at Microsoft.SharePoint.Client.ServerStub.InvokeStaticMethodWithMonitoredScope
(String methodName, ClientValueCollection args, ProxyContext proxyContext, Boolean& isVoid)
8ca5eb7f-4b4b-3476-a4ef-72fa76dd3e64

I have tried every possible solution or workaround tactics I could imagine, but to no avail.

EDIT: Alert Me and PowerShell mechanisms are successfully sending emails.

Please help me out.

Thanks in advance,

Can




Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>