Skip to main content
Community site session details

Community site session details

Session Id : 5o4Yb//Oetnn4dPcd77JTq
Power Automate - Building Flows
Answered

Multi Manager Flow

Like (0) ShareShare
ReportReport
Posted on 6 Jun 2018 15:32:58 by

Hi,

 

Ive built a flow for mutliple managers depending on budget level. However when I try to test and push it through i get an error saying that the 'get manager' function failed

 

-Ive set it up that the first blocks are referecing the above managers with the 'get manager v2' function.

-Ive added a switch case that looks at the budget level (1,2 or 3) from a sharepoint list and routes it to the appropriate manager.

 

Is there something wrong with using the 'get manager v2' to get the the following heirachy: created by user -> Manager1 -> Manager2 (Sr) -> Manager3 (Dir)

 

Regards,

 

Ali

  • v-xida-msft Profile Picture
    on 08 Jun 2018 at 06:31:25
    Re: Multi Manager Flow

    Hi @Anonymous,

     

    Have you solved your problem?

    Do you have any other questions about Microsoft Flow?

     

    If you have solved your problem, please click "Accept as Solution" so that this thread will be marked for other users to easily identify.

     

    Best regards,

    Kris

  • Community Power Platform Member Profile Picture
    on 07 Jun 2018 at 15:10:48
    Re: Multi Manager Flow

    I looked at it again and the error was due to not referencing the UPN in from the managers, also the switch case is where the issue was, it didnt like referencing a letter, i made some changes and it is all working now.

     

    Thanks for your help 

  • Verified answer
    v-xida-msft Profile Picture
    on 07 Jun 2018 at 06:21:01
    Re: Multi Manager Flow

    Hi @Anonymous,

     

    Could you please share a bit more about the error message within your flow?

    Could you please expand all the "Get Manager (V2)" actions within your flow and share a screenshot about them?

     

    I have made a test on my side and don't have the issue that you mentioned. My flow's configuration as below:4.JPGThe flow works successfully as below:5.JPG

     

     

    The "Get my profile (V2)" action is used to retrieve the profile of current login user. The "Get Manager (V2)" action is used to retrieve the profile of the direct manager of the specific user. If the specific user has not defined a direct manager, the "Get Manager (V2)" action would fail.

     

    Please check if you have provided proper value (the Email Address or UPN of a user) within the User (UPN) field of the "Get Manager (V2)" action of your flow. In addition, please also check if current user has corresponding hierarchy managers.

     

     

    Best regards,

    Kris

     

     

  • Community Power Platform Member Profile Picture
    on 06 Jun 2018 at 16:49:58
    Re: Multi Manager Flow

    url: https://i.imgur.com/LPXfiNK.jpg

  • Community Power Platform Member Profile Picture
    on 06 Jun 2018 at 16:49:28
    Re: Multi Manager Flow

    Here it is

     

  • ScottShearer Profile Picture
    25,236 Most Valuable Professional on 06 Jun 2018 at 16:21:59
    Re: Multi Manager Flow

    Can you post a screen shot of your Flow?

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete