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 / How to create framewor...
Power Automate
Unanswered

How to create framework in Power automate desktop

(0) ShareShare
ReportReport
Posted on by

Hi All,

Can anyone help me do we have any option to create a framework in Power automate desktop with exception handling included in that framework.

 

Ex: suppose i have 10 files in folder if anything gets error while running it should retry. If fails again send an email. If any system exception then it should end the process. If business exception then only it should retry.

 

Any inputs will be appreciated. Thanks in advance.

I have the same question (0)
  • CU31080729-3 Profile Picture
    502 Moderator on at

    Hi PrathapReddy1,

    Ready made frame work not available in power automate , if you want to handle if any issue come into your process

    you can used 1) action level error handling :- its handle error only for specific action ,if any error come into this action you can handle as per your requirement (advance section of action part)

    2) process level error handling (On block error action):- if any error come inside On block error action its capture the error and you can handle this error as per you requirement  (advance section of action part) 

    you can retry it , you can move your process another sub flow and send mail if error comes like that.  

     

    (Note:- if you got your solution you can mark as solution and gives kudos)

     

    Thanks & Regards

    Chetan Ninghot

  • CU06020423-0 Profile Picture
    on at

    Hi @Chetan_Ninghot  thanks. I will try this once.

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    The best approach is generally using On block error to handle blocks of actions or entire subflows, and also having a subflow that the block calls on error, to log the error. The subflow should then contain Get last error to get the error and then your preferred logging mechanism (such as Write text to file or Write to CSV file or whatever) to log the error somewhere.

     

    That's the basics. A more advanced framework is also possible, but quite difficult to explain in a reply here.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

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 784

#2
Valantis Profile Picture

Valantis 581

#3
Haque Profile Picture

Haque 545

Last 30 days Overall leaderboard