Hi Karl,

 

Spent a long time working with VS2008 workflows under MOSS last year, and
remember experiencing something similar. I'll try and find my notes on this
stuff later on to confirm - but I seem to remember that this link provided
"an approach" to this issue:

 

http://geeks.netindonesia.net/blogs/hanifku/archive/2008/05/19/modifying-sha
repoint-workflow-task-programmatically-problem-current-task-is-locked-by-run
ning-workflow-and-cannot-be-edited.aspx

 

The problem I have with it now upon re-reading, is the fact that setting
allowunsafeupdates to true would be *required* to get this sort of thing to
work ... I'll keep looking through my notes to see if I can find anything
else ...

 

Cheers,

Trevor

 

From: [email protected] [mailto:[email protected]] On Behalf Of Power, Karl
Sent: Wednesday, 17 June 2009 7:06 PM
To: [email protected]
Cc: Breen, Joe
Subject: Workflow Task Locking Issue

 

Hi Folks,

 

We're experiencing an issue with a custom workflow designed in VS2008 see
below for details:

 

Summary of Issue:

Workflow running on a Form Library in SharePoint. The workflow creates Tasks
on the default Task list in the Site.  No fields have been edited from
default settings on this Task list.  We are seeing a recurring issue with
Tasks locking in Workflows.  

The error we see is as follows:

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

 

The Task seems to complete correctly but the Progress % field or the Status
does not get properly updated.  When the Lock occurs we see a long pause
when the user clicks on the Approve button on their Task.  The workflow does
not progress but stays in the "In Progress" state.  The Task that is locked
cannot be edited outside the running workflow so the only option is to
terminate the running workflow.  This is not acceptable because there are
many steps in the workflow and it seems the  lock can happen at any of the
stages.

 

We have checked the following and all seem to be correct or not connected to
this issue:

 

Permissions

Content Types

Database locks

 

We can see here
<http://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/8ec
834b6-5408-4079-bdfb-b88d341b36bf> , here
<http://geekswithblogs.net/MTex/archive/2008/03/01/120117.aspx>  and here
<http://geek.hubkey.com/2007/09/locked-workflow.html>  that other people are
having similar.  None of the steps outlined in those posts fix the issue we
are seeing.

 

Links to above: 

http://social.msdn.microsoftcom/Forums/en-US/sharepointworkflow/thread/8ec83
4b6-5408-4079-bdfb-b88d341b36bf
<http://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/8ec
834b6-5408-4079-bdfb-b88d341b36bf> 

http://geek.hubkey.com/2007/09/locked-workflow.html

http://geekswithblogs.net/MTex/archive/2008/03/01/120117.aspx

 

 

  

Karl Power
Glanbia Business Services
Glanbia Plc
Tel:  +353 (0) 56 883 6016
Email:   <mailto:[email protected]> [email protected]
 <https://www.livemeeting.com/cc/btconferencing3> Click here to join MS Live
Meeting Session


______________________________________________________________
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. 
Any views and opinions expressed are those of the individual author/sender
and are not necessarily shared or endorsed by Glanbia plc or any associated
or related company.
This message has been scanned for all known viruses.
If you received this in error, please contact the sender and delete the
material from any computer.

Glanbia plc is registered in Ireland as a public limited company.
Registered Office: Glanbia House, Kilkenny.
Company Number: 129933
==============================================================

  _____  

Support procedure: https://www.codify.com/lists/support
List address: [email protected]

Subscribe: [email protected]

Unsubscribe: [email protected]

List FAQ:  <http://www.codify.com/lists/ozmoss>
http://www.codify.com/lists/ozmoss

Other lists you might want to join:  <http://www.codify.com/lists>
http://www.codify.com/lists

--------------------------------------------------------------------------------
Support procedure: http://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Reply via email to