Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Trap the status of get manager action

(0) ShareShare
ReportReport
Posted on by 496

Hi Experts ,

 

I have "get manager" action in below flow , When i run this ,it was noticed that some of the users are not configured with there managers email ID in their profile . 

 

I need to trap the records which doesn't have manager's email configured  and email it to IT support .. How can use a condition after the "Get Manager " Action 

 

thnks

AD

 

 

ajithd6368_0-1696571557425.png

 

  • ajithd6368 Profile Picture
    496 on at
    Re: Trap the status of get manager action

    Thanks Manish .. I will test it and get back to you .. stuck with another flow

    rgds

    AD

  • ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on at
    Re: Trap the status of get manager action

    Hi @ajithd6368 

     

    Get Manager actions fails and throw error or exception when no manager is assigned to input user. You need to add the "Scope" action to catch the exception when no manager is assigned. 

     

    Here is the example:

    Add "Scope" action and drag "Get Manager" action inside it:

    ManishSolanki_0-1696576937750.png

     

    Next, add "Send an email" action to notify the IT about missing of manager. This action should be added outside the block of "Scope" action:

    ManishSolanki_1-1696577030696.png

    Additionally, you need to set the configure run after setting to catch the exception. For that, click ellipses menu (...) & select "Configure run after" from sub menu:

    ManishSolanki_2-1696577164050.png

    ManishSolanki_3-1696577208408.png

    unchecked "is successful" & checked "has failed" checkbox and press Done to save.

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

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

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!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1