Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Power Automate Desktop
Suggested answer

Flow execution thrown Correction ID error

(2) ShareShare
ReportReport
Posted on by
Hi Team,
 
I have created a Flow that is been executed every hour.
 
It could run well three or five times, but suddenly it thrown the following error and stop until click on OK button:  
Correlation Id: 3d51096f-8d86-4761-8bae-d5cbbadfb45d
 
Is there a way to configure Powe Automate Desktop to execute the flow but send any error to a log instead a UI?
 
Another issue is that sometimes the flow is execute twice:

Last desktop flows runs

 
 
I hope you can help me.
Categories:
  • Suggested answer
    Riyaz_riz11 Profile Picture
    2,818 Super User 2025 Season 1 on at
    Flow execution thrown Correction ID error
    Hi,
     
    In PAD, go to:
    Actions > Error Handling > Begin Error Handling
    Add your entire flow logic (or key steps) inside the Try block.
    Use the On block error path to define a Catch block.
    In the Catch block:
    Log the error to a file using Write text to file
    Include:
    CurrentDateTime()
    %Exception.Message%
    %Exception.ErrorCode%
    Optionally hardcode the Correlation ID if it’s part of a specific known issue
    Step 2: Write error log to a local file
    Use the action:
    vbnet
    Write text to file
    → Path: C:\Logs\pad_error_log.txt
    → Text to write:
       %CurrentDateTime()% - Error occurred: %Exception.Message% - Code: %Exception.ErrorCode%
    → Append to file: ON
    This ensures that all runtime errors are silently caught and logged for post-analysis.
    Step 3: (Optional) Send an email if flow fails
    You can add:
    Send email action via Outlook or SMTP in the Catch block
    Attach the error message and timestamp
    Step 4: Turn Off System Pop-ups (Avoid Stopping Flow)
    PAD shows pop-up errors only if exceptions are unhandled. Once inside a Try-Catch block, these are suppressed.
    If you're seeing pop-ups despite using error handling:
    Ensure the error is not thrown from outside the Try block (like a misconfigured machine trigger, unattended login, etc.)

     
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
    Regards,
    Riyaz
  • Suggested answer
    Michael E. Gernaey Profile Picture
    42,786 Super User 2025 Season 1 on at
    Flow execution thrown Correction ID error
     
    Here are some good links, easier than me explaining it
     
     
    If this answers your question please Mark as such and maybe a like :-)

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May 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 >