how Can I force approve workflow task ?

  • 11 January 2016
  • 6 replies
  • 33 views

Badge +4

I have a business requirement where i need to force approve a task based on email approval. Do you know how can I do that ?

 

Even delegate feature is not working for me and when i try to delegate it shows "This task is currently locked by a running workflow and cannot be edited."

 

thanks


6 replies

Userlevel 4
Badge +8

Ganesh - did you try to use the Complete Workflow Task action?  What is the business condition where you want to force approve the task?  When you attempted to delegate, what had previously occurred on the task?  Did someone have the open at the time of the delegation (or just before that)?

Regards,

Tom

Badge +2

Hi Ganesh,

you can find some information regarding this issue here: Task Lock - Task is locked by a running workflow and cannot be edited

I have experienced this issue myself a few times, and have a written a little powershell snippet to fix this issue, based on the code from Development Hole: Locked Workflow . The blog post is a bit older, but the solution still works for SharePoint 2013.

Hope this helps

Badge +4

Thanks Tom and Martin for your response.

Martin  - I will try the powershell and see if that works for me

Badge +4

Hi, your workflow is running on the workflow tasks list or on another library?

Badge +4

its running on a SharePoint list. No workflows attached to task list

Badge +11

A workflow could be stuck on that item. You may need to go into the workflow history and terminate some workflows.

Reply