Get Manager approval in SharePoint Designer 2010 – Step by Step

A fundamental condition that I always encountered when gathering workflow requirement is to get the user's manager approval, a tedious amount of coding to connect to active directory retrieve user profile information, get his manager login name, pass it as a parameter to the workflow, create a custom task for the manager with a notification. 

SharePoint 2010 Designer to the rescue, you can do all the above in 15 clicks, with ZERO code involved. Just by doing the following:


  1. Open SharePoint Designer 2010 and connect to your SharePoint site.
  1. Click Workflows and select the workflow type you need, for this presentation I'll use reusable workflow with All content types as my scope. But this doesn't affect the following logic, the same steps applies for the List and Site workflows.
  1. From the Workflow ribbon select Actions > Collect Data from User, you can also select assign a to-do task but collect action from user allows you to create a custom task for the manager

  1. This will show you the Action in the workflow editor.

  1. The action is constructed from three parts:
    1. The data, which is the custom task that will be collected
    2. This user, which in our case the manager
    3. Output to variable: collect. Collect is  the task ID which you can change it, use it to refer to the task when you need to pass a variable through this task.
  1. Clicking on data will allow you to create the custom task by starting the task wizard, open the wizard and click Next.
  2. You will need to specify a Task name, and you can also specify a description. For now lets call the task "Review Task". And click Next

  1. Now you can Specify the Task custom field by clicking Add and select the field type, I will specify two field:
    1. Approved as a choice with Yes/No.
    1. Comment as a text area.


  9. Provide the choices values, and hit Finish

  1. Now it should be looking like this, with both fields listed

  1. After finishing creating the Task, the condition will change in the editor to reflect the task name.

  1. Now to the Fun part, getting the user manager. Simply click this user, Select "Workflow lookup for a user...", and click Add

  1. Now you need to specify data source, in other situation you will need to specify the active directory, create a connection and the rest of this headache. All you need to do now is to select "User Profile" from the end of the list.
  2. This will display all the user profile attribute that you can select from, such as manager. Select "Manager" and specify the out as "login name". This will lookup for the user manager and return his login name as a parapater in order to assign the task for this user's manager

  1. Find the list item section allows you to select the user which you need his manager approval. In our case we the manager for the user who started the workflow.  So I will select the Field as "Account Name" and click on the formula button in the value field.


 16. Specify the data source as workflow Context, the Field source is the Workflow "Current User" , and Return Field as "Login Name". Click OK, OK and OK.

 17. The Action should be looking like this now.



    Voila, Now you have your custom task that will be sent to the user's manager with a notification in his task list.



Comments (36)

  1. @Linda – Rejected or Failed?

    @Moazzam – If the calendar list share the same site as the vacation list you can update the calendar by a workflow action – update list item.  

    @ Steve – the data will be in the task list

    @Sean – Can you elaborate more? do you mean the workflow starts but when the task assigned it produce an error?

  2. @Ron – The user profile holds the attributes of the OUs in the AD, so if you want to look up for something in the AD such as department name or Manager name or a title, we will use the user profile.

    @7ogait – hope it worked for you by now.

  3. Exactly, despite of the authentication model, the AD should be connected and user profile services should be activated in SharePoint

  4. Anonymous says:

    Very nice post! However, it seems that this solution won't work without AD. Am I right to assume that if there's not Active Directory present, I'm still gonna need to jump all the hoops and code?

  5. @Roger .. in the 8th step we are creating a variable that we can retrieve from the task list. if the task list and the workflow list are both under the same site.

  6. Infopathrook says:

    All of this is dependent upon the User Profile Sync within Sharepoint isn't it?  So it is required to connect to AD to retrieve all of ther user profiles.  

  7. Easy to do! says:

    Thank you for this article. This made my job in getting a standard workflow in SharePoint with employee-manager relationships so much easier. I really appreciate the directions!

  8. pranay chandra says:

    hi nabil,

    u r article is good but in case if i m not having actvie directory,how can i create a approval workflow

    in my case i need to create a leave form,in which when a employee requsts for leave ,the list must me sent to manager and id manager approves it must be sent to hr,how can i create this

    i dont have active directory option

    plz help

  9. Jen says:

    This workflow works well.  Once in place however, the list it is associated with can only display the task completion status; not the approval status.  This isn't overly helpful since a rejection completes the task as well as an approval.  Do you have any suggestions on how to utilize this workflow in a way that the approval is visible on the originating list?

  10. Linda says:

    Each time I use this workflow, the item is rejected.  What am  I missing?

  11. Moazzam says:

    Hi, if after approval, i need to update the company calender so all employees can view the calendar and see leaves etc. How can it be done automatically once manager for example approves a request of leave by an employee.


  12. Steve says:

    How do I get the data collected out of the workflow?

  13. Sean says:

    I've followed the instructions but getting an error on *Review Task*, any idea?  How do I find out what the error means?

  14. Roger says:

    Can anyone please help me out. how would i get the responce back to the workflow variable, so that i can perform some operation in the workflow depending on what the user selected in the choice?

  15. Ron says:

    Great article but when I tried it I don't understand why I don't have "User Profiles" as a data source option. Help!

  16. 7ogait says:

    "I don't have "User Profiles" as a data source option. Help!" i have the same problem in Foundation 2010

  17. MonTue says:

    @7ogait.. Check if your "user profile service" and the "managed metadata service" applications are up and running and also if they are associated with the webapplication in which you are trying to create the workflow.

  18. Wont work with SharePoint Foundation says:

    The user profile service isn't part of SharePoint Foundation so this solution only works with SharePoint Server Standard or Enterprise.

  19. Assigned to is null ! says:


    I did what is mentioned here. when i check the tasks i see that the assigned to field of the task is null why ?

    Shouldn't bee the manager name ?

  20. korle says:

    custom user profile properties are not comming Field from source,Please help us how do we get custom user profile properties

  21. Vi says:


    This is great. How do I add/sub the vacation days to to an exel file.

  22. Husna says:


    I encounter this problem where i have to get approval from different manager from different department.There is drop-down list for user to choose their department.But how to make sure the document is sent to their respective department manager?

    Thank You

  23. amer says:


    That is really great.

    However, I have the following questions:

    1. Should I grant managers any permissions to be able to approve the task?

    2. How can I associate the workflow to a list and make it work automatically?

  24. james mead says:

    Does anybody know how to do a lookup a manager of a selected department? (Not the manager of the current user)

  25. Farzan says:

    Each time I use this workflow, the item is error occurred .what am i missing ?

    and i actived user profile services  in central admin SharePoint

    plz help me

  26. Charlene says:

    IT'S WORKS!! IT'S wORKS!!!! Thank you from the bottom of my heart!… However… Please help me set up the confirmation emails that need to go to the employee that says their time was approved or rejected and same type of email to the manager… I have the emails set up as workflow content:initator and user profiles:Manger.. what am i doing wrong??

  27. Charlene says:

    I really need an answer to my question. Please help me.

  28. Pam says:

    Could you please share your answers for setting the Approval? I am stuck.

  29. When I try to create any sort of todo item or any other task in the workflows section of sharepoint designer I get asterisks around the todo item name (which is unique) when I do a check for errors before attempting to deploy the workflow.

    I have tried googling for this issue but cant seem to find a solution.  I am obviously missing an important step as im not even able to deploy the workflow but being new to workflows im unsure of what im doing wrong.  Please help!

  30. elmira says:

    Hi, Muhammed

    thanks for your article,

    In step 13 I don't have user profile in data source ,what should I do?


  31. Prajwal Kulkarni says:

    Hi Muhammed,

    Sincere thanks for posting this article.

    My next query is how to get approval from 2 more level of managers. Please help me out of this.

    Thanks in Advance.

    Prajwal Kulkarni

  32. Leslin Sampson says:

    Hi Muhammed

    This works great thanks I have two questions

    Is there a way to set something in the workflow that allows the manager to click and approve and that this be sent to the user?
    Also how do you display the fields in the mail like the leave start date and the type of leave on SharePoint

    Please advise


  33. Bill Sabey says:

    I have sharepoint foundation so do not have User Profiles as a choice. I am going to add a Manager column to the library in the meantime. What have others done?

  34. Silver Star says:

    Hi Nabil,

    Great work, i have little problem, in Association Task list approver’s comments field did not show entry which he enter during approval. any idea how to get input comments in "Association Task" list field

  35. AB says:

    Do you know what the lookup fields would be if a manger wanted to route for approval from his/her direct reports?

  36. jinlong says: longchamp le pliage large tote sale michael kors hamilton Burberry Handbags Outlet Online chanel tote bag burberry store chicago cheap louis vuitton tote michael kors black handbags gucci backpack for men michael kors handbags on sale coach messenger bag for women louis vuitton belt for men hermes purses prices Gucci Handbags Outlet cheap louis vuitton speedy Burberry Crossbody Bags Burberry Tote Bags Prada Totes cheap michael kors tote Coach Purse Outlet Online 80% Off chanel bags prices Prada Handbags Outlet Burberry Men’s Wallet Outlet mcm tote prada tote bag louis vuitton belts for men prada-crossbody louis vuitton monogram coach diaper bags on sale burberry tote coach purse outlet hermes purses cheap louis vuitton purses michael kors bag prada belts coach wallets on sale outlet MCM Factory Outlet Coach Purses Outlet Online michael kors tote louis vuitton wallet cheap michael kors handbags

Skip to main content