Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

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

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

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

    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans