How do connect Active Directory to SharePoint workflows?

Posted on 2011-02-22
Last Modified: 2012-06-27
I am trying to set up a workflow in a document library, using SharePoint 2010, so that when a employee uploads a document it will alert their manager.  So basically, I am trying to get the workflow to read active directory and have it look up the employees manager.  I have both SharePoint Designer 2010 and Visio 2010 installed.  Any thoughts?
Question by:libertytax
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 10

Expert Comment

ID: 34953945
Not sure about Visio but in SP Designer there is an option to lookup someone's manager

Lookup Manager

Author Comment

ID: 34954504
So this would work for the following situation?  An employee uploads/modifies a document in a library, an email will get sent to their manager.  I know you you can specify an employee in the workflow, but I am trying not specify the employee.    It's an alert almost but it is only sent to the manager of the employee who modifies the library.
LVL 10

Expert Comment

ID: 34956363
LVL 10

Accepted Solution

shahzadbux earned 250 total points
ID: 34958929
Also, have a look at these images,

This to lookup the manager and assign to a variable called Manager: lookup the manager and assign to a variable called Manager
This shows how to use the variable to send the email to the manager: This to email the manager

Author Comment

ID: 34962612
Thanks for the help.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question