web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Workflow for GP2013 - This task is currently locked by a running workflow and cannot be edited.

(0) ShareShare
ReportReport
Posted on by 245

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

I have the same question (0)
  • Jonathan Fear Profile Picture
    Microsoft Employee on at

    Hi Anthony,

    Typically this is a problem actually from SharePoint. You may get better results posting in the SharePoint forums.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Dan Liebl Profile Picture

Dan Liebl 2

#2
Shravan Attelli Profile Picture

Shravan Attelli 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans