2

I need to get the Manager name using sharepoint designer 2013 workflow. Can anyone please help me to achieve this.

3
  • you can simply use the Lookup Manager for User activity option. Dec 16, 2015 at 12:24
  • in 2013 workflows Userprofiles activity is not there as like 2010 Dec 16, 2015 at 12:30
  • I missed 2013 part. I have updated it in answer. Hope it helps. Dec 16, 2015 at 12:37

3 Answers 3

2

In SharePoint 2013 workflow type we do not have Lookup Manager for User activity. For that SharePoint 2013 workflow you will need to use the Call HTTP Web Service activity, with the following end point URL:

http://your-sharepoint-site/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor(accountName=@v)?@v=[%Workflow Context:Initiator%]

You can get more information at Details

2

You can use SharePoint 2010 workflow in SharePoint 2013. Then use lookup Userprofiles activity to get manager name.

0

If you are using 2010 workflow then you can select Data source as User profiles and select the field as Manager

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.