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 / Capture Power Automate...
Power Automate
Answered

Capture Power Automate Workflow error and return to Power Apps.

(0) ShareShare
ReportReport
Posted on by 416


Hi

 

Background

I have a client with a custom API wired up with the Canvas app.
The custom API does some processing within Power Automate.


Requirements 

  • If custom API fails within 2 minutes, then autocancel the work workflow as cancelled or failed (due to an error)
  • Return the Workflow status ( cancelled / Failed) to the Canvas app users. 

Issue

I referred to this Blog where I am able to https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/Power-Automate-Fundamentals-10-Usage-of-workflow-Function-in/ba-p/1247789
where I can capture the workflow status in Power Automate and then send an email.

But I need to return the error to the Power Apps canvas app.  

 

Any advice would be highly appreciated.  

 

@Expiscornovus @Pstork1 @CraigStewart 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,037 Most Valuable Professional on at

    Unless the Power Automate flow is triggered manually by the Power App there is no way to return the error message to the App.

  • aaroh_bits Profile Picture
    416 on at

    Thanks, @Pstork1  for your quick response. 

    Can use the Return data to PowerApps from a flow action at Power Automate? 

     

    Will it work in my case? 

  • Verified answer
    Pstork1 Profile Picture
    69,037 Most Valuable Professional on at

    You can only use that action to return values to an App if the flow was triggered from the app.  That was the point I was trying to make.

  • aaroh_bits Profile Picture
    416 on at

    Thanks @Pstork1 

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 286

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard