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
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (4,167)