.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

SharePoint 2010 Approval workflow based on list criteria

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

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.




View Complete Post

More Related Resource Links

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

Copy List not Working in Sharepoint 2010 Designer Workflow

I am having two custom lists,  First_List(Title, ID, Status) and Second_List(Title, ID) here Status is a choice menu with values Selected and Rejected I am copying data from First_List to Second_List using WorkFlow with SharePoint Designer, When I am inserting data in first list. For that I have written in workflow action if CurrentIten. Status equals Selected  Copy item in current item to Second List now the Problem is that only the Title field is getting copied into the Second List but I am unable to copy the ID field. I am unable to understand whats the problem    

SharePoint 2010 email enabled list with workflow has incorrect User ID when items are emailed to the

I have set up an approval workflow for a document library that has email enabled. Emails come into the document library fine, however, if an item is emailed to the library the workflow kicks off with the initiator as "System Account" rather than the person who submitted the email. This makes the error of "The e-mail message cannot be sent. Make sure the e-mail has a valid recipient." come up. If someone submits a document directly to the library (by logging into sharepoint and submitting) everything works fine. The person submitting by email is a valid sharepoint user and the profile shows the correct email address. The Created by and Modified by fields show the correct person (rather than System Account), it's only the workflow User ID that shows incorrectly if document is emailed to library. Any help or ideas would be appreciated. Thanks

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...

Create Lookup Site Column based on External List (SharePoint 2010)


I've got an External List and I want to create a Site Column, which is Lookup to a column in my external list. If I tick any of the columns in 'Add a column to show each of these additional fields' and click OK i get the following error message:

[NullReferenceException: Object reference not set to an instance of an object.]
  Microsoft.SharePoint.SPBusinessDataField.IsInDefaultView() +58
  Microsoft.SharePoint.SPBusinessDataField.CreateSpFieldForBdcType(String bdcName, Boolean hidden, Boolean readOnly, Boolean idField, SPAddFieldOptions op) +809
  Microsoft.SharePoint.SPBusinessDataField.AddNeededSecondaryFields(String wssNames, String[] oldNames, String[] newNames, SPAddFieldOptions op) +315
  Microsoft.SharePoint.SPBusinessDataField.OnAdded(SPAddFieldOptions op) +240
  Microsoft.SharePoint.SPFieldCollection.AddFieldAsXmlInternal(String schemaXml, Boolean addToDefaultView, SPAddFieldOptions op, Boolean isMigration, Boolean fResetCTCol) +759
  Microsoft.SharePoint.SPFieldCollection.Add(SPField field) +61
  Microsoft.SharePoint.ApplicationPages.FieldNewPage.Save() +513
  Microsoft.SharePoint.ApplicationPages.FieldNewPage.BtnOk_Click(Object sender, EventArgs e) +46
  System.Web.UI.WebControls.Button.OnClick(EventArgs e) +114
  System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +139

Sharepoint 2010 List data to Word Template via Workflow


Ok, I am using Sharepoint 2010 and Designer as well as Infopath 2010. I have a requirement to send out a word document (via workflow) that will be a template that references fields from my Sharepoint List.

Any help is appreciated, I do not want to buy anything extra and a no-code solution would be best.


How to genrate custom reports based on the sharepoint 2010 list coloumns ?


Hello Friends,

       I am MD.Liakath ali i want create report based on the shaepoint lists.

1. My Report Server Configuration for SharePoint Integrated mode is done.

Please  any body suggest me how to create reports


Liakath ali

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

Change the Setting After Approval Workflow done in Sharepoint List Item


Hi Team,

Me and My Team are new for Sharepoint and we want to resolved one task.
Scenario: We have approval workflow on Document List. Now, Our Client wants that once that Document is uploaded, workflow gets started for approval process. which we have done.
Now, They wants that once Document get approved, No one can change the document. It means document will be stop for editing, they can open that and review / print / do other action except Editing and Deleting.

Now, does anyone know how can we achieve the same using custom coding in Visual Studio or Sharepoint Designer ?
i guess we should remove the rights from that document permission for this else we have no idea.

But in either case, Please guide us How to do that step by step.
Thanks for your kind Support.

Thanks & Regards, Brijesh Shah

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

Trying to send email using Sharepoint Designer 2007 workflow and email enabled list


I have a a list that recieves email. I have few fields that shows me the originator: "E-Mail From" and "E-Mail Sender".

I am trying to create a workflow that will generate an auto reply to the originator but the SPD fails to recognize the email address in these two fields. It's either truncating part of it or uses the html ( href=mailto:Demo@DemoSomething.com) in the To field.

Thank you,


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

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