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

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

Workflow will not complete....

Posted By:      Posted Date: September 20, 2010    Points: 0   Category :SharePoint

I have a problem whereby workflows do not complete on certain sites, but work fine on others.

When selecting the 'Approve' button on the approval page, for the sites that the workflow doesnt work properly, it takes about 20 seconds for the approval to register, and then the task will be marked as complete, but the status of the workflow will still be in progress.

This has been an ongoing problem for me for quite a while and although I am confident in most areas of SharePoint, this one has really stumped me.

I am aware that allowing mutliple selections of people/groups for a field can cause this problem, but this is not the cause of the problem.

Has anybody else experienced problems with workflows not completing and if so, were you able to overcome the issue?

View Complete Post

More Related Resource Links

Workflow doesn't complete when a task is updated directly from an infopath form.

I have an approval workflow that creates a task for a group to approve or reject an InfoPath form. But if a member of the group opens the form and updates the task from there, it doesn't complete the workflow. It only completes the workflow if they go to the actual task and update it from there. Does anyone know how to fix that?

Programmatically Complete Designer Workflow

I have a SharePoint Designer Workflow that spawns a task when a new item is created in a SharePoint list.  I want to be able to complete the task and the workflow programmatically.  I'm able to complete the task successfully, but the workflow itself refuses to terminate and is always listed as "In Progress", no matter what I try.

I've seen many people ask this question, but I can't get it to work.  What am I missing?

Here's what I'm currently trying:


// get the current task item


SPListItem li = SPContext.Current.ListItem;


// mark the task complete



Workflow wont complete on infopath form


I have created many successful workflows on my infopath submittable forms

this time I cannot get the form to complete.   It will only start.       I am submitting to a SharePoint list that has 4 content types,  each representing a new form type

I am using a lookup value,  from a sharepoint list,  as a dropdown in my form.    The action I am trying to initiate is,    when a condition is met,  send an email,   using the  email provided in the dropdown.   This has worked before in other Libraries,  using the exact lookup lists.  

I am wondering if having multiple forms in the library may be affecting my results.   The condition I am picking is unique to the one form.  

Any ideas out there?




Creating a custom Workflow + Custom workflow task + complete = error


Hi everyone,

I am using a custom workflow in SharePoint 2010, with one task in it using a Custom Content type deriving from the "Workflow Task" type, with a custom Edit form.

From this point everything is fine, I can create my Task, open it from the task list with my custom webpage as form, but when I want to update my task to complete it, i get a very weird message that I didn't find any help about: "The workflow's parent item associated with this task is currently in the recycle bin, which prevents the task from being completed".

I Just have my Custom workflow using a Custom Workflow task, I don't see where this should come from... I even looked in the Recycle Bin, but it was empty as I was thinking it would be...

Any chances someone got a solution on this?

Cheers, Ben

Can I elect which list appears when a user clicks "complete task" in a sharepoint workflow?



I have a "Collect data from user" task which naturally shows the Workflow Tasks list when the user clicks "Complete Task" and the task form closes.  This is a little confusing for the user who thinks they are working on items in the base list.  Is there a way I can choose which list is shown after the user clicks "Complete Task" (or any action which closes a workflow task)?

I am using SharePoint 2007 Standard Edition and SPD 2007

Many thanks for your help,


Complete SQL Solution

SQL Server Solutions: SQL Server 2000/2005 Related Free Snippets.

Free Series of SharePoint Workflow How-to Videos

This is the series of "How to" Document Workflow with SharePoint using Visual Studio 2008 (using the .NET Framework 3.0 for backward compatibility to Visual Studio 2005). I have created video's that show the most common requests that I have seen around MOSS/SharePoint 2007 workflow & document workflow.

Parallel port complete: programming, interfacing & using the PC's parallel

Parallel port complete: programming, interfacing & using the PC's parallel


Workflow Services: Visual Design of Workflows with WCF and WF 4


The .NET Framework 4 makes it easier than ever to implement WCF services using WF. We'll demonstrate just how easy it is by modeling a long-running, durable and instrumented workflow based on a real-world business case without having to write any code.

Leon Welicki

MSDN Magazine May 2010

Workflow Essentials: Collaborative Workflow Improvements in SharePoint 2010


In this article, the author covers the new features in SharePoint 2010 geared for workflow developers and then walks the reader through a couple of new user scenarios.

Paul Andrew

MSDN Magazine November 2009

Foundations: Workflow Services for Local Communication


This month's column describes how to use WCF for communication between a workflow and a host application in Windows Workflow Foundation 3. This knowledge should help developers with their efforts using WF3 and prepare them for WF4, where WCF is the only abstraction over queues (referred to as "bookmarks" in WF4) that ships with the framework.

Matthew Milner

MSDN Magazine November 2009

Foundations: Windows Workflow Design Patterns


Design patterns provide a common, repeatable approach to solving software development tasks, and many different patterns can describe how to accomplish a certain goal in code. When developers begin working with Windows Workflow Foundation (WF), they often ask about how to accomplish common tasks with the technology. This month's column discusses several design patterns used in WF.

Matthew Milner

MSDN Magazine August 2009

ASP.NET Workflow: Web Apps That Support Long-Running Operations


Integrating workflow into ASP.NET applications means communicating with activities via a workflow queue and hosting the runtime in the global application class. We'll show you how.

Michael Kennedy

MSDN Magazine January 2009

Real-World WF: Best Practices For Windows Workflow Foundation Apps


The heart of Windows Workflow Foundation is its declarative programming model. Here are some best practices to consider when using WF to realize software solutions in the real world.

Josh Lane

MSDN Magazine December 2008

Foundations: Workflow Tips and Tricks


Matt Milner addresses reader requests for information about safely sharing a persistence database across applications and using lesser-known parts of the framework such as ChannelManagerService.

Matt Milner

MSDN Magazine August 2008

Foundations: Loading Workflow Models in WF


When building workflows, you must consider the developer experience, available tools, long-term maintenance, and future versioning.

Matt Milner

MSDN Magazine May 2008

Foundations: Workflow Services


With the NET Framework 3.5, Windows Workflow Foundation can now truly be integrated with Windows Communication Foundation. This column describes how the integration works and how to make use of it effectively.

Matt Milner

MSDN Magazine Launch 2008

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