.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

Any good Approval-type workflow tutorials for VS 2010?

Posted By:      Posted Date: August 31, 2010    Points: 0   Category :SharePoint
Greetings.  I'm looking for some good tutorials (or books) on creating SharePoint 2010 Approval workflows in Visual Studio 2010.  I've spent a few hours digging through the search results on bing/google, but almost all of the examples (including content from Microsoft) show a very simple workflow in Visual Studio 2010 that doesn't contain approval steps.  I am looking for a more comprehensive tutorial on how to build a workflow that contains approval steps and evaluates the column values (i.e. evaluate a list column  if(Total Cost > 10000)) to determine branching.  InfoPath integration is a bonus but not required.  Anyone have any good links with solid tutorials?  Thanks in advance.

View Complete Post

More Related Resource Links

Activating an approval workflow on adding a new content type


How can I associate a workflow with the content types list? My scenario is that I allow users to add newcustom content types but they are needed to be first approved before they get added to the list of site content types. I couldn't find a way to associate a workflow with the site content types in Site Settings -> Site Content Types.

OOTB Approval Workflow SharePoint 2010 - Blank "Requested By" field appears in Task Item edit/view f



I am having a simple OOTB  approval worflow associated to the simple document library. Task is created when an document is uploaded to the library.  When I click the task item in task list, I see a blank field "Requested By"  right below the "Status" column and I am unable to understand from where this field is coming and how to populate this field. Any help would be great...

SharePoint 2010 Approval workflow based on list criteria


Hello All

I have been requested to create an Approval workflow for a list with 3 columns - Title, Category and Price. The Category field has 3 options - Minor, Moderate and Major.

If the Category is Minor the approval is sent to the Project Manager, and after approval it is sent to the Manager for approval.

How can I accomplish this using SharePoint Designer 2010? Can I modify the OOTB approval workflow, if yes how?

What other options do I have? This is really urgent.

Thank you for any responses.




SharePoint 2010 Approval Workflow email is not showing link to Workflow Task list



I have created an out of box Approval workflow in SharePoint 2010. I am receiving email with below information

Task assigned by Chinna Malipedu on 10/7/2010.

Due by 1/1/0001

Approval started by Chinna Malipedu on 10/7/2010 11:43 AM
Comment: Approve



To complete this task:
1. Review SharePoint2010.
2. Perform the specific activities required for this task.
3. Use the Open this task button to mark the task as completed. (If you cannot update this task, you might not have access to it.)

But I need to go to Workflow Task List by clicking 3 item "Use the Open this Task" , this is not a link here

or I want like "Edit this task to mark the task as completed."  Edit this task should link to Task List

How to do this? do i missing any configuration?

I have successfully done the same  in MOSS 2007.                                                               Is there  any extra&n

Sharepoint 2010 Approval Workflow "Open this task" link not functioning


When I am clicking on "Open this task" link in outlook 2010 i am getting error as "Access to the floowing form required". Please help me out to resolve the issue..






cannot add Impersonation step in approval workflow sharepoint 2010



I am using SharePoint 2010 approval workflow, where users fill infopath form and submits it to form library and manually starts workflow on that item with their choice of approvers, my requirement is i need to break permissions when workflow starts on that item and give permissions to user and approvers only .

is there anyway to do it?




SharePoint 2010 Approval Workflow

I have set up a standard approval workflow in SharePoint 2010 Server.  The e-mail sent to the approver links fine to the file that needs review but the approval step part of the e-mail just looks like this:  3. Use the Open this task button to mark the task as completed. (If you cannot update this task, you might not have access to it.)  There is no link to the approval task, it is just bold.  I don't think it is not a permissions issues because I can go to the task list and approve the task.  Any ideas?

Custom Workflow Approval form creation in SharePoint 2010


How to create Custom workflow approval form in sharePoint 2010.?

I have to create serial approval workflow with 3 stages,

1. In each of approval stage, Approver has to approve and update the value in the SharePoint List.

2. Workflow email should have email link to workflow list item.


Please let us know how to achieve this. Is this possible using Out of Box workflow?







Marulasiddappa SB (Swamy)

SharePoint Desinger 2010 approval workflow error



I created a copy of the out-of-the-box globally reusable workflow titled, "Approval - SharePoint 2010."

I then modified the "Initiation Form Parameters" in the workflow copy that I created. By default, the "Show on Form" settting for these parameters - Approvers, Expand Groups, Request, Due Date for all Tasks, Duration per Task, Duration Units, CC is set to "Both" (i.e. show these parameters during Initiation and Association). I did not want to display these parameters during Initiation, as we don't want end-users to change these settings. I want them to be displayed during Association only. We want Administrators only to be able to configure these parameters.

So I changed the "Show on Form" setting for the above parameters to "Association (attaching to a list)." I am able to save the workflow. And when I click on "Check for Errors" no errors are reported. But when I attempt to publish the workflow, I get the following error:

Errors were found when compiling the workflow. The workflow files were saved but cannot be run. And when I click on the "Advanced" button in the error message, I see this detailed error:

(0, 0) Activity 'ID4' validation failed: Property 'DurationUnit' has invalid

SharePoint Designer 2010 workflow specified in Content Type retention policy not starting



I have a SharePoint Designer 2010 resuable workflow that uses the "Start Approval Process" Task Action. This workflow needs to run after a document has been declared a record. So I have a Content Type that has an Information Management Policy (IMP) attached to it. And I have 2 retention stages specified in the IMP. The first retention stage action is to run the workflow. And this Content Type is associated with the Document Library containing the records. But for some reason, the SPD workflow never gets triggered. The document has been successfully declared as a record. I also see in the document's "Compliance Details" screen, the "Scheduled Occurrence Date" is set to the proper date, but the workflow never got started on that date. I tried it with different dates that I set in the document, to ensure that the workflow runs on "Scheduled Occurence" dates such as 11/19/2010, 11/20/2010 to no avail.

What am I missing? Any help/suggestions would be greatly appreciated as always.

Best regards,
Kiran K

Sharepoint Server 2010 Publishing Page and Approval Workflow


Hi ,

I have a problem with Approval Workflows on Sharepoint Server 2010 ,

My scenerio is below;

1-Create SharePoint 2010 Publishing site.

2- Create a page say, "xyz.aspx", in page library.

3- Check in the page.

4- Publish the page using drop down menu from page library.

5- SharePoint 2010  will run "Page Approval" workflow.

6- While workflow is in progress, try to edit the page.

7- Pop up with window "Error" will appear.

This Error Message is:This page is currently locked for editing because a workflow is running which will stop if the page is changed. Do you want to continue ?

And then always ask this question to me while wf is running

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

SharePoint 2010 Long Starting if start workflow programatically


In SharePoint 2010, I'm starting workflow #2 programatically from my workflow #1. See code below:

					SPList currentList = web.Lists[new Guid(ListId)];
					SPListItem currentListItem = currentList.GetItemById(ListItem);

					//resolve any lookup parameters
					string workflowId = base.ProcessStringField(WorkflowIdentifier);

					//find workflow association by name
					SPWorkflowAssociation workflowAssoc = currentList.WorkflowAssociations.GetAssociationByName(workflowId, Thread.CurrentThread.CurrentCulture);

					if (workflowAssoc != null)
						//start the workflow
						SPWorkflow workflow = site.WorkflowManager.StartWorkflow(currentListItem, workflowAssoc, workflowAssoc.AssociationData, SPWorkflowRunOptions.Synchronous);

And workflow #2  will hang with Starting status (1-10 minutes), Then the workflow #2 status would be modified  to Completed.

I couldn't find how to start the workflow # 2 immediately and complete immediately without several minutes delay

Serial approval workflow keeps running


I have a serial approval workflow created out of the box. The setting cancell this workflow when the document is rejected is selected. But if one of the approvers rejects it the workflow keeps running. After this is it will give acces denied errors for the other approvers.

So for example what is happening. The workflow is started and sends a email to persone 1. This persone approves so the workflow sends a email to persone 2. Persone 2 decided to reject the document. Now i want the workflow to be cancelled, but it keep running and sends a email to persone 3 for approval. If persone 3 opens the workflow he get's a acces denied error, i guess because of the reject.

Anyone has a idea what is happening here?

How to use display Text in Hyperlink For SharePoint 2010 Designer Workflow


In SharePoint 2007 Designer, I have used the Hyperlink column to store the link "http://www.sharepoint.com/Default.aspx, Details". The details text will be shown in the Hyperlink column. Everything works fine in sharepoint 2007 Designer workflow.

In SharePoint Designer 2010 Workflow, I used the same method but the hyperlink column is displaying the full text "http://www.sharepoint.com/Default.aspx, Details" instead of only Details


Creating SharePoint Server 2010 External Content Type Associations with SharePoint Designer 2010

Learn how to use Business Connectivity Services (BCS) to create associations between external content types in SharePoint Designer 2010 without using code.

Video: Microsoft Visio 2010 and Microsoft SharePoint Designer 2010 Workflow

Learn the specific roles Visio 2010 and SharePoint Designer 2010 play in the development process and how these tools can be used in concert to create a workflow. (Length: 13:22)
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