Skip to main content
Nintex Community Menu Bar

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

  • May 20, 2018
  • 3 replies
  • 43 views

Forum|alt.badge.img+2

Hi All,

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

215546_pastedImage_1.png

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.

3 replies

Forum|alt.badge.img+7
  • Nintex Partner
  • May 20, 2018

Hi,

Set the Line Manager (Calculated value) to: 

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

Regards,


Forum|alt.badge.img+2
  • Author
  • May 20, 2018

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.


Forum|alt.badge.img+7
  • Nintex Partner
  • May 20, 2018

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,