Hoping perhaps to maybe find a solution to a issue that has been occurring, seemingly at random, periodically each week or so. Our sharepoint 2010 site has 12 Lists and each list has it's own approval process workflow, designed in Sharepoint Designer, that we have set to start automatically when the item is created.
These workflows normally run without issue, and we normally do not see many issues. However, periodically upon creation of an item from any of the lists, when the respective workflow goes to run, the workflow will log an error with the description "Workflow name failed to start" and "Workflow cancelled" - "Workflow Name was canceled by System account."
When viewing the ULS Log file, I see the following messages at the time the item is being created:
10/18/2016 08:25:21.36 w3wp.exe (0x105C) 0x0A48 SharePoint Foundation Workflow Infrastructure 72fs Unexpected RunWorkflow: Microsoft.SharePoint.SPException: <Error><CompilerError Line="1" Column="1" Text="The root activity type is invalid." /></Error> at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.LoadXomlAssembly(SPWorkflowAssociation association, SPWeb web) at Microsoft.SharePoint.Workflow.SPWinOeHostServices.LoadDeclarativeAssembly(SPWorkflowAssociation association, Boolean fallback) at Microsoft.SharePoint.Workflow.SPWinOeHostServices.CreateInstance(SPWorkflow workflow) at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut) at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflowElev(SPWorkflow workflow, Collection`1 events, SPWorkflowRunOptionsInternal runOptions) 10/18/2016 08:25:21.55 w3wp.exe (0x105C) 0x0A48 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80070005 10/18/2016 08:25:21.69 w3wp.exe (0x105C) 0x0A48 SharePoint Foundation Workflow Infrastructure 98d8 Unexpected Microsoft.SharePoint.SPException: <Error><CompilerError Line="1" Column="1" Text="The root activity type is invalid." /></Error> at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.LoadXomlAssembly(SPWorkflowAssociation association, SPWeb web) at Microsoft.SharePoint.Workflow.SPWinOeHostServices.LoadDeclarativeAssembly(SPWorkflowAssociation association, Boolean fallback) at Microsoft.SharePoint.Workflow.SPWinOeHostServices.CreateInstance(SPWorkflow workflow) at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut) at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflowElev(SPWorkflow workflow, Collection`1 events, SPWorkflowRunOptionsInternal runOptions)
The same user's have submitted many other items with these workflows beginning without any issues. They also are able to go back and manually trigger the workflow and it runs without issue. That is what I can not wrap my head around is the seemingly inconsistent nature of these errors.
Have tried finding answers related to the "Root activity Type is invalid" and have not really seen anything that seems applicable to this situation. Is there something anyone could suggest to look into to hopefully address this issue?
Thanks









