When I am running the workflow, sometimes I get this error for particular item:
'This task is currently locked by a running workflow and cannot be edited'.
How can we solve the above error?
Please share the solution.
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
It may be the nature of your WF. Are you doing update to that task in wf? if so you need put a wait action after it. Sometimes WF is faster than sharepoint due to async calls and hits race condition. Put a 5 min wait after update of the task and see if that solves your problem.
When a workflow processes a task normally, the following sequence of events is expected to occur:
When the message is encountered, it usually indicates that an error occurred between step 2 and 4. As a result, the lock is never released.
Try to stop workflow and start new workflow for the item