.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

SP Workflow issue -> "The item is currently locked for editing. Waiting for item to be checked in o

Posted By:      Posted Date: October 04, 2010    Points: 0   Category :SharePoint


I'm getting the above issue with my List Workflow.  I've created a workflow that assigns column data to a file when it is created.  This works some of the time; however, at random intervals the workflow will get stuck with "In Progress" status for the reason listed above.  The only way to clear this status is to delete the workflow and republish it.  This happens when copying a document via the UI, as well as when copying a document via UNC path.  

If I terminate the workflow for the stuck item, when I go back to run it manually, the workflow isn't even listed.  Looking at the Visio history for the item, it seems to be getting stuck at different methods within the workflow; sometimes it gets stuck at a logic method, other times at a data manipulation method.  And other times it runs through fine without any issues.  This is all happening with the same file used as a control, so it's not like I'm introducing variable triggers to the methods in this workflow.



View Complete Post

More Related Resource Links

XOML only workflow performance issue while creating

  In our application we are using XOML workflow and create workflow instance using workflowRuntime.CreateWorkflow(workflow, ruleReader, workflowParameters) where workflow and ruleReader are objects of XMLReader created using XmlReader.Create().For one of our business process automation we have developed XOML only workflow which has 35 states and 95 events. When we try creating an instance of the workflows it is taking more time and the time taken to create the instance is 3 min.Can any one suggest is there any other way to create workflow instance of XOML only workflows other than workflowRuntime.CreateWorkflow(workflow, ruleReader, workflowParameters)Your help is higly appreciated.Environment:    VS 2008    ASP.NET 3.5    WWF 3.5    XP  

Where is the issue tracking workflow?

Hi All, Going through the out of the box workflows currently and I can't work out where the Issue tracking workflow would be found? Technet doco refers to both the three state and issue tracking as being separate workflows and that the issue tracking workflow is about we pages. http://technet.microsoft.com/en-us/library/cc263148.aspx#DefinedAgain  I can create an issues tracking list and add a three state workflow to that. Just trying to learn about the Issue Tracking workflow. Any ideas on where I can add or configure this workflow? Thanks, Gavin  

State Machine Workflow XOML issue

"Please help me out this problem" "Its too urgent" I have modified State Machine Workflow XOML file and upload again with my application. Now i am getting error while calling CreateWorkflow(). I am getting the following error. "Wokflow Validation Failed" "Activity 'handleExternalEventActivity1' validation failed: Property 'InterfaceType' is not set." If i am uploading the existing XOML file then it is working fine without any error. What i have to do and where i did mistake?

Document Workflow Issue

I have started to see some irregualrities in my document workflow setup whereby a user will recieve an email to say they have started the workflow on their dcument that they have uploaded, within this email there is a list of 3 reviewers, but now these reviewers are not being listed, i have looked in the event log and i have loads of event id 3083 which states: The protocol handler Search.Mapi2Handler.1 cannot be loaded. Error description: Class not registered Any ideas?? The event id`s i have seen are 6875, 3083, 1516

Sharepoint 2010 Workflow issue

I am using SharePoint Designer 2010 to implement a workflow approval process on InfoPath forms. I added the workflow on an InfoPath and although it shows me that the workflow is completed, it doesn't do what it is supposed to do. It is supposed to send an email to the Manager once the form is submitted and fulfills certain critieria. It doesn't send that email. The workflow is fairly simple: If Form:Department equals (ignoring case) XYZ Email xyz   The type of workflow is "List Workflow". I am not sure where I am going wrong. It looks a simple thing to solve but my mind seems blocked. Any clues??

Issue in Look up field in SPD workflow


I have created a workflow in my task list. I have also created another SharePoint List known as "Leave Application" which is a forms library. Now i want to use 2 fields from "Leave Application" list to the task list. 

I am using SharePoint Designer to create my workflow. I want to extract two fields from my "Leave Application" list to task list so that i can show these fields in my task view.

How to do that? In task list, i am only able to see the columns which i created in task list. But what if i want to use 2 columns from some other list in to the task list so that task list can get the same values for those fields or columns when the user fills leave application form.

Also in the action "Collect Data from a User", if i want to add fields from other list then how to do that?

Can anyone help me in this?


Time card management template workflow issue


If we installed Time card management template in share point 2007 By default it will be working (work flow) right?

Otherwise we have to configure anything?

If i try this workflow message is failed to start

Workflow Foundation 4.0 Persistance Issue.


I am trying to get the list of all the workflow instances that have been suspended due to unhandled exception.

I am looking at the [System.Activities.DurableInstancing].InstancesTable . the value of the instance is not being updated when the instance is terminated or workflow is completed. but the instance record is created.

given below is my instance persistance code.


 SqlWorkflowInstanceStore instanceStore = new SqlWorkflowInstanceStore(@"Data Source=[machineName];Initial Catalog=[DatabaseName];Integrated Security=True");
      instanceStore.InstanceLockedExceptionAction = InstanceLockedExceptionAction.AggressiveRetry;
      instanceStore.InstanceCompletionAction = InstanceCompletionAction.DeleteNothing;
      InstanceView view = instanceStore.Execute(instanceStore.CreateInstanceHandle(), new CreateWorkflowOwnerCommand(), TimeSpan.FromSeconds(1));
      instanceStore.DefaultInstanceOwner = view.InstanceOwner;
      WorkflowApplication newApp = CreateWorkflow(instanceStore);

This is my workflow completed code


 static void WfCompleted(WorkflowApplicationCompletedEventArgs e)
      if (e.CompletionState == ActivityInstanceState.Faulted)
        Console.WriteLine("Workflow {0} Termin

Workflow Email Issue!


Can anyone shed some light on the error i am receiving on my sharepoint server. I see this when a workflow has been started but the reviewers are not listed within an email that is sent to the document Owner.

Event ID 6875

Error loading and running event receiver Microsoft.SharePoint.Workflow.SPWinOEItemEventReceiver in Microsoft.SharePoint, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Additional information is below.

: Value does not fall within the expected range.

SharePoint 2010 Workflow issue



We have recently started our company's SharePoint site and it works great!

Recently we created a Workflow using SPD 2010 for a particular List under a subsite. We published the workflow to the site and wanted everyone to manually start the workflow and the List Item creation. The manual start button is on an ASPX page. Now users can not access the page.

We checked the access level for the site, list and all users now have full access to the list, workflow...really do not understand what could be the issue and how to solve this?

Any help will be really appreciated.

workflow creating issue in sharepoint designer


I try to create a new workflow for Task list using sharepoint designer 2007. But it showing the following error:

Errors were found when compiling the workflow. The workflow files were saved but cannot be run.

Unexpected error on server associating the workflow.


How to solve this issue?

Workflow Designer 4.0 Load() Performance Issue: possible memory leak?


Hello everybody,

I am trying to implement a workflow designer in a windows form application and use the same designer to view different workflows. However, I found the program became slower and slower after loading several workflows.

my steps are as follows:

1. create a wpf user control WFDesigner to package the workflowdesigner;

2. In the user control  WFDesigner , implement a InitiateDesigner method which create a new workflowDesigner instance each time called. I suppose the old workflowDesigner instance would be collected by GC;

3. create a winform application and install the user control created on step 2 to an element host, and put the element host on the form. 

4. add two buttons for test: one will execute  WFDesigner.InitiateDesigner() once and the other will execute it 100 times.

Custom Workflow Startup Issue


Hello All,

I've tried to create a custom workflow in SharePoint Designer 2007 that simply checks a choice in a particular column in a document library for either yes or no. Both conditional branches send out an email.  My problem is two-fold:

1. Whenever I try to start the workflow (when an item is changed or manually) it gets stuck on Failed to Start (retrying), it'll hang for about 2-3 minutes then completes the workflow.  I've seen this article (http://blogs.msdn.com/b/wael/archive/2008/01/11/workflow-failed-on-start-retrying.aspx) but not sure what "tokens" they are talking about and where do they want me to run that command from?

2. It appears that if I have another instance of the workflow running in the doc library and try to initiate another (by making a change), it doesn't start.  I have to manual start it, any ideas on that? 

Thanks so much in advance for your help/suggestions!

Sharepoint 2010 Workflow Email Issue


So I wanted to create a workflow for a list I have already created in Sharepoint.  The list is an "Issue Tracking" list.  When I add an item to the list, and then modify that item, I am notified by email that changes have been made to this item.  But when my workflow includes the "Send an Email" action in Sharepoint Designer, the workflow results include the message: The e-mail message cannot be sent. Make sure the outgoing e-mail settings for the server are configured correctly. 


I first thought it was the workflow and how it was looking up the email address to send to from variables in the workflow.  But then I changed it all the way down to simply being the single step: "Send an Email" and the email address is hard coded in the properties with my email address.  Since I get the notifications that changes have been made to the items in the list, I wanted to beleive that it was something else.  But I checked into the log file that was suggested on another thread here, and found an error when I searched the log for "SMTP:"


#160002: Cannot connect to SMTP host 'mail.xxxxxxxxx.com'.    a84dc162-7c30-43a1-b58e-ae5bc81a6a95


I x'd out my full domain, but this is the error in the log. 

Date Time issue in Sharepoint Designer workflow



I am trying to format the date in a Sharepoint workflow (using Sharepoint Designer 2007) so that it does not include the time.  Does anyone know how this can be done?


Any help greatly appriciated...



Srikanth Reddy




collect signatures workflow issue


Hi, All

 I test Collect Signature Workflow  in a Virtual PC, where everything is ok but when I try to run workflow from Clicking on Word2007>Home>Workflow,  the opened window(Collect Signatures Window) is not able to accept any inputs, i can’t type anything in the “signer” text box or click the “signer” button. why? any comments are welcome. thanks

Start Another Workflow Issue


I am using Sharepoint Designer 2007 and have tried many different security settings etc. and different users within the Sharepoint server settings with no success.  I am aware that the System Account that assigned to the application pool has to be different than that user to which I am logged into Sharepoint with.  The steps to reproduce the problem is this:

1.) List one is called "New Employee" and an item is manually created by a user.
2.) When an item is created in the "New Employee" list, a new item is automatically created in the "Task" list which collects data from the user.
3.) If the data collected equals a specific value then I use the "Start Another Workflow" method to start another workflow called "Navision Task".
4.) The "Navision Task" workflow is started within the "Task" list.
5.) There is another workflow running at the same time that starts automatically if a new item is created in the "Task" list,  and will send an email out if the content type is "Navision Task".

The issue is that the workflow mentioned in step 5 above is occuring only when the item in step 2 is created, but does not run again when the item in Step 4 is created and no errors are reported.  Also, the task that is created in step 4 states that

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend