AnsweredAssumed Answered

Workflow sometimes fails to start.

Question asked by iatli on Sep 2, 2015

HI,

 

I have a list workflow that runs when an an item is updated. The list is a document library.  Kofax (scanning solution) is exporting documents to this library.  Every now and then, a document is exported to the library and nothing happens.  There is no workflow error and no workflow history, the workflow doesn't start.  In the ULS there are 4 entries at the time this happens, these entries can be viewed below.  Any ideas why this is happening?

 

Uls:

 

  1. 09/02/2015 09:57:48.17                w3wp.exe (0x60EC)                        0x23B8  SharePoint Foundation         Legacy Workflow Infrastructure  72fv       Unexpected        AutoStart Workflow: Microsoft.SharePoint.SPException ---> System.Runtime.InteropServices.COMException: <nativehr>0x8102008a</nativehr><nativestack></nativestack>     at Microsoft.SharePoint.Library.SPRequestInternalClass.AddWorkflowToListItem(String bstrUrl, String bstrListName, Int32 lItemID, Int32 lItemLevel, Int32 lItemVersion, Guid workflowPackageId, Guid& pWorkflowInstanceId, Guid workflowTaskListId, String bstrStatusFieldInternalName, Int32 lAuthorId, String bstrModificationXml, Guid correlationId) at Microsoft.SharePoint.Library.SPRequest.AddWorkflowToListItem(String bstrUrl, String bstrListName, Int32 lItemID, Int32 lItemLevel, Int32 lItemVersion, Guid workflowPackageId, Guid& pWorkflowInstanceId, Guid workflowTaskListId, String bstrStatusFieldInternalName, Int32 lAuthorId, Str...            a8fa299d-9b21-e057-76e6-5acf05895d9a

 

  1. 09/02/2015 09:57:48.17*              w3wp.exe (0x60EC)                       0x23B8  SharePoint Foundation         Legacy Workflow Infrastructure  72fv       Unexpected        ...ing bstrModificationXml, Guid correlationId)     --- End of inner exception stack trace ---     at Microsoft.SharePoint.Workflow.SPWinOeEngine.CreateWorkflow(Object context, SPWorkflowAssociation association, SPWorkflowEvent startEvent, Boolean bCreateOnly)     at Microsoft.SharePoint.Workflow.SPWorkflowManager.StartWorkflowElev(Object context, SPWorkflowAssociation association, DateTime elevationTimeUtc, SPWorkflowEvent startEvent, SPWorkflowRunOptions runOptions)     at Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.<>c__DisplayClass1.<AutoStartWorkflow>b__0(SPSite superUserSite, SPWeb superUserWeb)      a8fa299d-9b21-e057-76e6-5acf05895d9a

 

  1. 09/02/2015 09:57:48.17                w3wp.exe (0x60EC)                        0x412C  SharePoint Foundation         Legacy Workflow Infrastructure  72fv       Unexpected        AutoStart Workflow: Microsoft.SharePoint.SPException ---> System.Runtime.InteropServices.COMException: <nativehr>0x8102008a</nativehr><nativestack></nativestack>     at Microsoft.SharePoint.Library.SPRequestInternalClass.AddWorkflowToListItem(String bstrUrl, String bstrListName, Int32 lItemID, Int32 lItemLevel, Int32 lItemVersion, Guid workflowPackageId, Guid& pWorkflowInstanceId, Guid workflowTaskListId, String bstrStatusFieldInternalName, Int32 lAuthorId, String bstrModificationXml, Guid correlationId) at Microsoft.SharePoint.Library.SPRequest.AddWorkflowToListItem(String bstrUrl, String bstrListName, Int32 lItemID, Int32 lItemLevel, Int32 lItemVersion, Guid workflowPackageId, Guid& pWorkflowInstanceId, Guid workflowTaskListId, String bstrStatusFieldInternalName, Int32 lAuthorId, Str...            a7fa299d-bbcf-e057-76e6-52b96a945a15

 

  1. 09/02/2015 09:57:48.17*              w3wp.exe (0x60EC)                       0x412C  SharePoint Foundation         Legacy Workflow Infrastructure  72fv       Unexpected        ...ing bstrModificationXml, Guid correlationId)     --- End of inner exception stack trace ---     at Microsoft.SharePoint.Workflow.SPWinOeEngine.CreateWorkflow(Object context, SPWorkflowAssociation association, SPWorkflowEvent startEvent, Boolean bCreateOnly)     at Microsoft.SharePoint.Workflow.SPWorkflowManager.StartWorkflowElev(Object context, SPWorkflowAssociation association, DateTime elevationTimeUtc, SPWorkflowEvent startEvent, SPWorkflowRunOptions runOptions)     at Microsoft.SharePoint.Workflow.SPWorkflowAutostartEventReceiver.<>c__DisplayClass1.<AutoStartWorkflow>b__0(SPSite superUserSite, SPWeb superUserWeb)      a7fa299d-bbcf-e057-76e6-52b96a945a15

Outcomes