The scenario is this. We create a simple custom SPD workflow. We associate that with the Pages library. We create a new document and start the workflow manually. The workflow starts and cancels immediately. When we view the cancel error message
-
==================================================================
RequestorId: b4b8da93-34bf-66cc-ae9f-df85cd586bb1.
Details: System.ApplicationException: HTTP 500 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["32"],"SPRequestGuid":["b4b8da93-34bf-66cc-ae9f-df85cd586bb1"],
"request-id":["b4b8da93-34bf-66cc-ae9f-df85cd586bb1"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1; RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Thu, 16 May 2013 06:12:10 GMT"],
"Server":["Microsoft-IIS\/7.5"],"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)
=================================================================
When we create a workflow with same steps and associate with Document library or custom list, it runs fine.
==================================================================
RequestorId: b4b8da93-34bf-66cc-ae9f-df85cd586bb1.
Details: System.ApplicationException: HTTP 500 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["32"],"SPRequestGuid":["b4b8da93-34bf-66cc-ae9f-df85cd586bb1"],
"request-id":["b4b8da93-34bf-66cc-ae9f-df85cd586bb1"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1; RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Thu, 16 May 2013 06:12:10 GMT"],
"Server":["Microsoft-IIS\/7.5"],"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)
=================================================================
When we create a workflow with same steps and associate with Document library or custom list, it runs fine.