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 / Design for Error Handl...
Power Automate
Unanswered

Design for Error Handling PAD

(1) ShareShare
ReportReport
Posted on by 30

Hi just asking the community if anyone has a way that they have designed error handling in Power Automate Desktop that they are proud of? And is particularly clever?  I am wanting to design the error handling so that it has good logs, and possibly can allow for user intervention as the process is running but I have not found great examples out there of the design?  Thanks for sharing you clever folks! 

I have the same question (0)
  • DanielOlsson Profile Picture
    111 on at

    I am in the same situation, errors are not displayed in a central view and I need to enable notifications on an error to alert myself / the team to deal with an issue. / Trigger tickets etc.  I cant find anything built-in.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi, RPA best practice is to have one error block over the main body of the script and another around the item loop.

     

    Ideally the robot should log steps into TXT or CSV file and should send emails when it encounters errors in the main loop (termination) or item related error (exception). I have one page called Exception and one called Termination to handle those and those pages are called from the respective exception blocks.

     

    To throw a custom error I was using in WinAutomation custom logging using casting action of text into number and then parsing the error message. I have not tried if it would get into the log with the new version of PAD though. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard