Skip to main content

Thanks to the assistance here I have a great workflow that has tested with excellent results, I have another question, I have a three state approval running:

1. Initiators Manager

2. Manager's Head of Dept.

3. CEO. The CEO I can name that is no issue

Is it possible to get the Manager's correct Head of Dept.(Approval - 2) as the next Approver automatically recognised?  There are four Heads of Dept.

 

Do I simply add 'Manager' again in the next workflow approval request step?

 

Capture.JPG

Thanks in advance guys!

Hi,

You could make REST request and check if this is retrievable by playing with user profiles.

WebURL/_api/sp.userprofiles.peoplemanager/getpropertiesfor(@v)?@v=%27i%3A0%23.w%7CDOMAINUSERNAME%27

Damien


Have you seen that? >>> Retrieve a user's Display name from their login

I'm not 100% but perhaps you can get the "Manager" attribute from LDAP


Reply