Skip to main content

Notifications

Community site session details

Community site session details

Session Id : VezsKGMhRISyEn8bmPdblR
Power Automate - Building Flows
Unanswered

Building an org chart with managers

Like (0) ShareShare
ReportReport
Posted on 29 Nov 2023 16:29:14 by 402

iskguy_0-1701275096064.png

I have this process to build out an array of Managers.  This flow triggers when a new item is added to a SharePoint list.  I get the Creator information from that list and I use the Office Connector to get that Creator's ID. This Do...Until loop is working fine when there is data.  I have a condition to check to see if ID is present and if not, it is supposed to set the UserID variable to null.  However, this looks like it is running 60 times and the depth chart of this test is 4 managers in, and it does indeed deliver those results, but errors when it gets to the CEO.  Perhaps if I set the Do...Until loop to check on ID is Blank then it might work?  Any else have ideas?

I did read someplace that the GetManager can branch on Success or if it fails, but I am not sure how to set that condition up.

Thanks

 

EDIT

I did find I should have a parallel conditional flow.  I added that, but now getting this error

iskguy_0-1701284153141.png

 

  • iskguy Profile Picture
    402 on 29 Nov 2023 at 19:27:44
    Re: Building an org chart with managers

    The Status of Get Manager is FAILED.  Why does it not branch correctly?

    iskguy_0-1701286034364.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard
Loading started
Loading complete