Nintex Connect

The Official Community Site for Nintex Software Products, including Nintex Workflow 2007, Nintex Podcast 2007 and Nintex SmartLibrary.
Welcome to Nintex Connect Sign in | Join | Help
in Search

This task is currently locked by a running workflow and cannot be edited

Last post 09-15-2008, 6:55 PM by JamesTyzack. 6 replies.
Sort Posts: Previous Next
  •  07-22-2008, 12:49 PM 819

    This task is currently locked by a running workflow and cannot be edited

    Hi,

    I have had a simple Nintex 2007 approval workflow operating without issue for months now. Now when approvers attempt to approve new submissions to the list they get the following error

    This task is currently locked by a running workflow and cannot be edited

    I'm not sure how to troubleshoot this. The workflow has not been recently altered or re-published. Any ideas?

  •  07-24-2008, 5:14 PM 840 in reply to 819

    Re: This task is currently locked by a running workflow and cannot be edited

    This is an issue that we are currently investigating...
  •  09-05-2008, 5:07 AM 1094 in reply to 840

    Re: This task is currently locked by a running workflow and cannot be edited

    Has there been any progress on this issue? I've seen it myself multiple times and it is a major source of concern. As far as I can tell, the only thing that can be done is to terminate the workflow which is not acceptable for clients.
  •  09-09-2008, 2:14 PM 1113 in reply to 1094

    Re: This task is currently locked by a running workflow and cannot be edited

    When you respond to a task, this is what happens:

    1. Change is registered
    2. Workflow engine locks the task item
    3. Workflow engine processes the task change
    4. Workflow engine releases the lock
    5. Workflow moves on

    When you are seeing the locked error, this is what has happened:

    1. Change is registered
    2. Workflow engines locks the task item
    3. Workflow engine processes the task change, but something goes wrong (exception thrown)
    4. Workflow never releases the lock, workflow cannot move on and yes it has to be restarted
    5. Modifying the item again shows the 'task still locked' message

    When this happens, please check the SharePoint logs for the time where the task was originally responded to for workflow infrastructure messages that will describe what went wrong and contact support@nintex.com

    regards

    James

     

  •  09-11-2008, 3:38 AM 1124 in reply to 1113

    Re: This task is currently locked by a running workflow and cannot be edited

    I too have just encountered this issue. I checked the SharePoint logs and found no Workflow Infrastructure messages at the times the message occured. I ended up delegating the task to myself at which point I too recieved the message the first few times I tried but after a few minutes the Task went thru and acknowledged approval. I thought I was all set but then discovered the workflow seems to be hung on that Approval action despite all the approval tasks being complete............................ not sure what I can really do.
  •  09-12-2008, 7:52 PM 1138 in reply to 1124

    Re: This task is currently locked by a running workflow and cannot be edited

    Hi all,

     We had the same problem but we know what the probem was back then. SharePoint was creating 2600 mysites for all users... because of this unfortunate event:) all other SharePoint/nintex jobs became 'pending'. It uses first in first out:) and there were 2600 mysite jobs before the SharePoint/Nintex job. People could approve there task, but the workflow and remained pending and the workflow was locked.

     So what I'm trying to say is that SharePoint sometimes needs to update a field or do something else(check in, check out), but this job only runs every 5 minutes... In some workflows we created a delay step (minimum = 5 minutes), just to make sure that SharePoint did what he needed to do.

     Try this and see if it helps:)

     Regards,

    Jaap

  •  09-15-2008, 6:55 PM 1163 in reply to 1124

    Re: This task is currently locked by a running workflow and cannot be edited

    Hi RHIncredible,

    The Workflow Infrastructure message will be logged when the task was updated, not when you see the Locked message (which is when you try to update the task again after it was already locked). You can probably check the task item modified date (make it show in the list view) to track down the message.

    Unless its like Jaap's case where something is just taking a long time to process, this message is not recoverable. You need to actually terminate the workflow.

     

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems