Hi All,
We are getting issues when approving PO's in Workflow for GP2013, the processing window hangs and the below error is showing in the Dynamics Event log:
Exception type:
Microsoft.SharePoint.SPException
Exception message:
This task is currently locked by a running workflow and cannot be edited.
Stack Trace:
at Microsoft.SharePoint.SPListItem.PrepareItemForUpdate(SPWeb web, Boolean bMigration, Boolean& bAdd, Boolean& bPublish, Object& objAttachmentNames, Object& objAttachmentContents, Int32& parentFolderId)
at Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents, String filename, Boolean bPreserveItemUIVersion)
at Microsoft.SharePoint.SPListItem.Update()
at Microsoft.SharePoint.Workflow.SPWorkflowTask.AlterTask(SPListItem task, Hashtable htData, Boolean fSynchronous)
at Microsoft.Dynamics.Workflow.WorkflowManager.AlterTask(Guid taskId, SPList list, Hashtable newData, Boolean sync)
at Microsoft.Dynamics.Workflow.WorkflowManager.SubmitTaskAction(Collection`1 submissions, OrganizationKey organizationKey, Boolean sync)
Has anyone seen this before and does anyone have any information on how to unlock the running workflow.
Any help would be great,
Best regards,
Anthony.
*This post is locked for comments