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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Cloud and desktop flow...
Power Automate
Answered

Cloud and desktop flow monitoring tips

(0) ShareShare
ReportReport
Posted on by 123

Guys, good morning! Currently in my company we have several power automation, cloud and desktop flows. We also have several machines (VMs). I would like to know if you do some type of monitoring, create some type of dashboard (trello, teams, I don't know) to clearly visualize how the flows are going.

Currently I open each tab for each flow and check the error, but this is not at all effective considering that we have more than 50 flows and 50 machines.

It is difficult to identify and deal with the various errors that occur in our environment.

Thanks!

Categories:
I have the same question (0)
  • AndreasN Profile Picture
    318 Super User 2024 Season 1 on at

    Hello,

     

    Do you have any real-time notification systems in place, to notify you when an error occurs? (Other than the default Microsoft e-mail, which they send once a week).

     

    I personally store all flow runs on a SharePoint list, this can then be visualized through a canvas app or Power BI if I want to. I have a notification system, that sends me an e-mail and a teams notification if an error occurs in real-time. If I forget to correct the error, I have another flow that goes through my SharePoint flow log, and notifies me if any error hasn't been fixed within 24 hours.

     

  • razec18 Profile Picture
    123 on at

    Hey, thanks for the reply!
    Actually no... I do not have this real-time notifications 😞

    How do you store all of your FlowRuns into your sharepoint?
    Can you share it with me?

     

  • AndreasN Profile Picture
    318 Super User 2024 Season 1 on at

    Hello Razec,

     

    Sure let me try to explain, I use the standard try / catch / finally setup with scopes.

     

    First you need to initialize an empty string variable, you can call it whatever. 

    AndreasN_0-1694589205833.png

    Create these 3 scopes.

    AndreasN_1-1694589226560.png

     

    Within your "Try" scope, you place all of the functionality of your flow, meaning all those actions you currently have for a working flow goes within the try scope.

    Here's a snippet of my try scope, when I open it up. As you can see, I have placed all my actions inside.

    AndreasN_2-1694589301789.png

     

    At the end of your try scope, you place a "set variable". Set the variable you have initialized to whatever indicates a success, I have set my string as "success".

    AndreasN_3-1694589365466.png

    Then you have to set up your "catch" scope.

    You can fully copy how mine is setup:

    AndreasN_4-1694589419807.png

    In the catch scope, I set my initialized variable string to "error", again you can set it to anything that indicates an error has occurred.

    AndreasN_5-1694589466522.png

    I collect the URL and the name of the flowrun, meaning if an error occurs I will have a direct URL link to that exact flowrun, as well as the name of the flow.

    AndreasN_6-1694589506521.png

    Here's the expressions:
    FlowURL - 

    concat('https://make.powerautomate.com/environments/', workflow()?['tags']?['environmentName'], '/flows/', workflow()?['name'], '/runs/', workflow()?['run']?['name'])
     
    FlowName - 
    workflow()?['tags']?['flowDisplayName']
     
    Then I send the following e-mail to myself:
    AndreasN_7-1694589575722.png

    You can further customize this, to also include the error message you receive for the flow error. I find this redundant, as I have to access the flow anyways to correct the error, and it will tell me the reason why the error has occurred there.

     

    In the finally scope, I have created a SharePoint list and then I store my variable and the flowname and flowURL.

    AndreasN_9-1694589683458.png

     

    Now your scopes are all setup, except we need to configure the "run after" settings. So you always want your try scope to run, this is the bread and butter of your flow and where all the magic happens. If your try scope is successful it loads that into the string variable, and you can save the successful flow run in your SharePoint list. 

     

    If your try scope encounters an error, we want the catch scope to run, you do that by setting the "configure run after" settings for the catch scope up like this:

    AndreasN_10-1694589879859.png

    So if your try scope fails or times out, the catch scope will run where you set the string variable to "error", you collect the flowname and URL and send an e-mail to whomever is in charge of the flow. Again, the finally scope will run, and the error status is noted into your SharePoint list.

     

    From there, you can create any type of flow that scans your SharePoint list for all the error flows, and notify you if they haven't been fixed. I have set it as default, that when an item is created in my SharePoint list, it gets an "Unsolved" property in a choice column, and once I solve the error I have to manually access the SharePoint list and change the value to "Solved". My flow scans for all "Unsolved" properties, and notifies me if any of them is 24 hours or more old everyday, just to keep myself on my toes.

     

    Hope it makes sense,

    best regards - AndreasN


     

     

  • Verified answer
    AndreasN Profile Picture
    318 Super User 2024 Season 1 on at

    Hello Razec,

     

    Sure let me try to explain, I use the standard try / catch / finally setup with scopes.

     

    First you need to initialize an empty string variable, you can call it whatever. 

    AndreasN_0-1694589205833.png

    Create these 3 scopes.

    AndreasN_1-1694589226560.png

     

    Within your "Try" scope, you place all of the functionality of your flow, meaning all those actions you currently have for a working flow goes within the try scope.

    Here's a snippet of my try scope, when I open it up. As you can see, I have placed all my actions inside.

    AndreasN_2-1694589301789.png

     

    At the end of your try scope, you place a "set variable". Set the variable you have initialized to whatever indicates a success, I have set my string as "success".

    AndreasN_3-1694589365466.png

    Then you have to set up your "catch" scope.

    You can fully copy how mine is setup:

    AndreasN_4-1694589419807.png

    In the catch scope, I set my initialized variable string to "error", again you can set it to anything that indicates an error has occurred.

    AndreasN_5-1694589466522.png

    I collect the URL and the name of the flowrun, meaning if an error occurs I will have a direct URL link to that exact flowrun, as well as the name of the flow.

    AndreasN_6-1694589506521.png

    Here's the expressions:
    FlowURL - 

    concat('https://make.powerautomate.com/environments/', workflow()?['tags']?['environmentName'], '/flows/', workflow()?['name'], '/runs/', workflow()?['run']?['name'])
     
    FlowName - 
    workflow()?['tags']?['flowDisplayName']
     
    Then I send the following e-mail to myself:
    AndreasN_7-1694589575722.png

    You can further customize this, to also include the error message you receive for the flow error. I find this redundant, as I have to access the flow anyways to correct the error, and it will tell me the reason why the error has occurred there.

     

    In the finally scope, I have created a SharePoint list and then I store my variable and the flowname and flowURL.

    AndreasN_9-1694589683458.png

     

    Now your scopes are all setup, except we need to configure the "run after" settings. So you always want your try scope to run, this is the bread and butter of your flow and where all the magic happens. If your try scope is successful it loads that into the string variable, and you can save the successful flow run in your SharePoint list. 

     

    If your try scope encounters an error, we want the catch scope to run, you do that by setting the "configure run after" settings for the catch scope up like this:

    AndreasN_10-1694589879859.png

    So if your try scope fails or times out, the catch scope will run where you set the string variable to "error", you collect the flowname and URL and send an e-mail to whomever is in charge of the flow. Again, the finally scope will run, and the error status is noted into your SharePoint list.

     

    From there, you can create any type of flow that scans your SharePoint list for all the error flows, and notify you if they haven't been fixed. I have set it as default, that when an item is created in my SharePoint list, it gets an "Unsolved" property in a choice column, and once I solve the error I have to manually access the SharePoint list and change the value to "Solved". My flow scans for all "Unsolved" properties, and notifies me if any of them is 24 hours or more old everyday, just to keep myself on my toes.

     

    Hope it makes sense,

    best regards - AndreasN


     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 632

#2
Haque Profile Picture

Haque 458

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard