cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jean9681
Frequent Visitor

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
v-bacao-msft
Community Support
Community Support

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
jean9681
Frequent Visitor

Capture.PNG

 

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

v-bacao-msft
Community Support
Community Support

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

@ 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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,900)