This task is currently locked by a running workflow and cannot be edited
Hey, I created a workflow that would I would get the above message after a few days of maddness, I tried the HelloWorldSequential from the ECM Starter Kit and am getting the same message. (If first you don't succeed, try reading the instructions) But alas I get the same error.
Can anyone shed some light on this..
Steps to recreate:
1) Deploy the HelloWorldSequential from the ECM
2) Associate to a document library and start a workflow on a doc.
3) Fill out the init Form and submit (so far so good, debugs as well)
4) Now select task review, add feedback info and submit.
5) Please wait while your task is updated... is displayed for about 30 seconds / debugger is not entered. / onTaskChange is not fired
6) Select the task again, press submit on the form and
"This task is currently locked by a running workflow and cannot be edited" error is displayed.
Terminate Workflow start again - Debugger works but still the same problem.
Anyone have the same type of issue....
Thanks!!
Bruce VB
Answers
This error is caused by removing one of the standard fields from the Task List workflow (I am guilty).
To recreate
1) delete the assigned to column from the standard or a custom task list.
2) Start approval workflow that uses the list.
3) Approve the task
4) Task will be complete but workflow status will remain in progress - no error messages in logs or event logs
5) Terminate workflow, readd colum, start workflow - workflow will move to approval status properly.
Rule #7574 Do not delete standard tasks columns even if they are not required in your workflow, Edit view instead to not display the column.
Hope this helps someone else!!!
Bruce VB
All Replies
- hi bruce,
i understood the problem, here once u assign a task or any library to a workflow, u should wait still it complete.
here, first of all u should see error log and find the bug or error message.
go to web extensions/12/logs and select file based on time stamp and see the bug, it may give some clues. if u found come again.
thanks
praveen This error is caused by removing one of the standard fields from the Task List workflow (I am guilty).
To recreate
1) delete the assigned to column from the standard or a custom task list.
2) Start approval workflow that uses the list.
3) Approve the task
4) Task will be complete but workflow status will remain in progress - no error messages in logs or event logs
5) Terminate workflow, readd colum, start workflow - workflow will move to approval status properly.
Rule #7574 Do not delete standard tasks columns even if they are not required in your workflow, Edit view instead to not display the column.
Hope this helps someone else!!!
Bruce VB
- nice bruce,
it's good reply from u,
i too don't know this solution
thanks When I had this problem I didn't have properties assigned correctly to my update task event, I had the task ID but didnt assign the properties, you need to double check all those to make sure they have the correct new field in them and not the defaults.
Also for the previous poster you can just edit the content type and hide the fields you don't need instead from the workflow task type. This will make them not show up in views or the form which is nice. You will want to delete the regular task type and or new task type too or you will have a choose content type field on your edit form that might get confusing, but all you do is remove all but the one type and it will go away. Hope this helps.
Exactly. I searched for hours.
The probleme in my case was that i had changed the 'assigned to' field to allow multiple entries in the workflow task lists.
IT lock all tasks created by my workflow
- I also got this error, but for a different reason.
My workflow created several tasks and I was accidentally assigning a new TaskID and properties to an existing task, instead of the new one.
Stupid really. :)
JJBongo - I have same problem :(
I am developing leave application workflow. Everything is working fine, only If I use task list to edit the task which use my custom infopath taskform0 to
do approve or disapprove it works fine.
But If I use infopath form and click edit button in infopath ribbon and when I click approve/disapprove, edit button will come again & if I click it again i get I get "
This task is currently locked by a running workflow and cannot be edited"
