I created a workflow.
We got a Status in the Workflow like (if Status 1 Email to xy)
One of this steps is.
If Status equals 5
Set End Date to Today
then send an email to xy.
If User A creates the Task and set the status to 5 everything works fine. The End Date will be set right and the email goes out.
But if User A creates the Task and User B changes the Status to 5 the End Date won't be set and the Email will not be sent. The Workflow suspends.
Please help me. it drives me insane.
RequestorId: 400118c0-0cda-967b-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 401 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["208"],"SPRequestGuid":["400118c0-0cda-967b-a164-0c0bb6fb7c82"],"request-id":["400118c0-0cda-967b-a164-0c0bb6fb7c82"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"Cache-Control":["max-age=0, private"],"Server":["Microsoft-IIS/8.0"],"WWW-Authenticate":["Negotiate","NTLM"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"],"MicrosoftSharePointTeamServices":["15.0.0.4569"],"Strict-Transport-Security":["max-age=31536000"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1; RequireReadOnly"],"Date":["Tue, 15 Nov 2016 15:49:40 GMT"]} 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)
/edit I solved the Problem. I created a spereate 2010 Workflow for the steps to set the End Date. Now it seems to work without Problems :)