2

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

  • you can simply use the Lookup Manager for User activity option. – Bhaskar Dhone Dec 16 '15 at 12:24
  • in 2013 workflows Userprofiles activity is not there as like 2010 – Lavanya Puppala Dec 16 '15 at 12:30
  • I missed 2013 part. I have updated it in answer. Hope it helps. – Bhaskar Dhone Dec 16 '15 at 12:37
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, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.