cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
karolyuan
Helper I
Helper I

Is there any way to get all managers until a specific person?

I have tried to use do until loop, but it doesn't return anything as I expected. It returns only one level of manager. Here are some screen shots.
Capture.PNG2.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
karolyuan
Helper I
Helper I

I have found solution myself. 

View solution in original post

2 REPLIES 2
karolyuan
Helper I
Helper I

I have found solution myself. 

BenC88
Frequent Visitor

Hi @karolyuan ,

Your do until loop is set to run until varRequestorEmail is equal to a certain value, but I can't see where you're updating this variable? You're also going to return the same person everytime.

 

Have a look at this, I've tested it, and it works:

screencapture-australia-flow-microsoft-manage-environments-852a8ebb-98be-4d2f-a1e0-0c51a73f099f-flows-e007c113-edae-4716-b68e-73001a830ad5-2022-01-30-16_13_32.png

 

 

 

 

Cheers,

Ben

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (2,213)