cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jean9681
Level: Powered On

How to update a people or group column - with Get Managerv2 action

 

I have a SharePoint List to track error's made by users
There are 2 columns (people or group)
Column1. User who made the error - user_abc
column2. Report to manager - manager of user_abc (Flow should fetch this data from AD and update the item)

Send an email to both this users from column 1 & 2

Flow Sturcture -

1. Start flow When an item is created in the list
2. Get user profile(v2) - Column 1 user who made the error
3. Get manger(v2)- fetch manager information form AD

 

i got this far and it works as expected-

 

Need help on how to get update the manger information in to the Sharepoint list (column 2)
Have to use the same variable generated from the 'Get Manager' action and reference it as dynamic content in an 'Update Item' action or get item.


Thanks in advanced for helping me out.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: How to update a people or group column - with Get Managerv2 action

Hi @jean9681,

 

Do you want to update the field with the output value of the Get Manager action instead of the drop-down list option?

 

You could use the custom value to populate corresponding Dynamic Content, as below:

 

36.png

37.PNG

 

Please take a try.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Highlighted
jean9681
Level: Powered On

Re: How to update a people or group column - with Get Managerv2 action

Capture.PNG

 

This is the current struture of the flow now.. Any suggestion will be very helpful. 

Community Support Team
Community Support Team

Re: How to update a people or group column - with Get Managerv2 action

Hi @jean9681,

 

Do you want to update the field with the output value of the Get Manager action instead of the drop-down list option?

 

You could use the custom value to populate corresponding Dynamic Content, as below:

 

36.png

37.PNG

 

Please take a try.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

jean9681
Level: Powered On

Re: How to update a people or group column - with Get Managerv2 action

@ Barry
Thank you so much for the help, I used the display name instead of email  and it works as i expected. 

Smiley Happy

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (3,851)