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

Notifications

Announcements

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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard