web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Building an org chart ...
Power Automate
Unanswered

Building an org chart with managers

(0) ShareShare
ReportReport
Posted on 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

 

Categories:
I have the same question (0)
  • iskguy Profile Picture
    402 on at

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard