Created a new Doc library - added a content type and in workflow settings I've added the Standard Approval WF.
When I upload a document and initiate the WF - I fill out the form and click start - but the WF fails
The workflow could not update the item, possibly because one or more columns for the item require a different type of information. | Unknown error |
The ULS contains this:
Unexpected WinWF Internal Error, terminating workflow Id# ceb8396a-9890-4b9e-af16-0a9cf10aea06 37d9cb9d-e638-100c-3bce-4a766da402f0 01/17/2017 08:49:05.98 w3wp.exe (0x4520) 0x0C84 SharePoint Foundation Legacy Workflow Infrastructure 98d4 Unexpected System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.SharePoint.Workflow.SPWinOEWSSService.GetWebForWorkflow(SPWorkflow wf, SPWorkflowUserContext runAsUser) at Microsoft.SharePoint.Workflow.SPWinOEWSSService.get_Web() at Microsoft.SharePoint.Workflow.SPWinOEWSSService.GetWebForListItemService() at Microsoft.SharePoint.Workflow.SPWinOEWSSService.UpdateModerationStatus(Guid id, Guid listId, SPItemKey itemKey, SPModerationStatusType newModerationStatus, String comments) at Microsoft.Office.Workflow.Actions.SetTaskProcessItemModerationStatus.DoUpdate(ActivityExecutionContext context) at Microsoft.SharePoint.WorkflowActions.WaitForDocumentUnlockActivity.Execute(ActivityExecutionContext executionContext) at Microsoft.Office... 37d9cb9d-e638-100c-3bce-4a766da402f0 01/17/2017 08:49:05.98* w3wp.exe (0x4520) 0x0C84 SharePoint Foundation Legacy Workflow Infrastructure 98d4 Unexpected ....Workflow.Actions.SetTaskProcessItemModerationStatus.Execute(ActivityExecutionContext context) at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext) at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime) at System.Workflow.Runtime.Scheduler.Run() 37d9cb9d-e638-100c-3bce-4a766da402f0
How do I resolve this?