cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

How to auto populate manager's name on changing the another people picker

Jump to solution

Hi All,

I want to change the manager name on changing the another people picker.

On opening the page the current logged in user's manager name it will pickup, but if in case i want to change the "Requestor" name accordingly the line manager name should be changed. 

Please guide me.

Labels: (2)
0 Kudos
Reply
3 Replies
Workflow Hero

Re: How to auto populate manager's name on changing the another people picker

Jump to solution

Hi,

Set the Line Manager (Calculated value) to: 

userProfileLookup(userProfileLookup(Requestor, "Manager"),"PreferredName").

Regards,

0 Kudos
Reply
Workflow Hero

Re: How to auto populate manager's name on changing the another people picker

Jump to solution

Hi Philip,

You did not get my question, I have taken the calculated value only with the above function to pull the manager name on form load, but if i change the "Requestor" name, automatically respective manager name should populate.

On form load, i have set Requestor to current logged in user and his/her manager name will populate. But i will change the Requestor name based on that the manager name should also change.

0 Kudos
Reply
Workflow Hero

Re: How to auto populate manager's name on changing the another people picker

Jump to solution

Hi Ramanjjilu Naidu‌,

Isn't Line Manager the Requestor's Manager pulled from AD/User Profile services?

If so, the above formula can guarantee populating the new Manager name each time you will change the Requestor.

BR,

0 Kudos
Reply