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 Apps / Powerapps Run Trigger ...
Power Apps
Answered

Powerapps Run Trigger Error Handling

(0) ShareShare
ReportReport
Posted on by 7

Need some help when an error has occured when triggering a flow.

 

Example submit button in powerapps will trigger a cloud flow. Cloud flow is using SharePoint. If a user submits a form within the power app without sharepoint access the cloud flow trigger will not run at all.

 

Is there a way to catch the error in power apps when a cloud flow has failed to start on the run function.

 

Im using the iferror statement but this doesnt catch the error.

 

Any help is greatly appreciated.

 

Thanks

Categories:
I have the same question (0)
  • Verified answer
    WiZey Profile Picture
    3,023 Moderator on at

    Hello @Chenz1 ,

     

    It is possible from Power Automate to return a parameter to Power Apps, allowing you to check if the flow crashed midway or was completed.

     

    I made a simple flow like this. This flow sends me a notification and returns a parameter with the current date and a string:

     

    WiZey_0-1665559417686.png

     

    Then in Power Apps, I can receive this parameter with "UpdateContext()":

     

    WiZey_1-1665559481556.png

     

    The returned parameter can be used freely in the app.

     

    WiZey_2-1665559536936.png

    WiZey_3-1665559542596.png

     

    On your side, I guess you only need to return a boolean if your flow managed to complete all of its tasks without any error.

     

    Hope this was helpful to you.

  • Chenz1 Profile Picture
    7 on at

    Yes i was thinking to return a value from the cloud flow and use a wait timer if after a certain amount of time example 5 seconds if a response has not been given then i know it failed to trigger the flow.

     

    I think that should work.

     

    Although I believe there is no functionality in powerapps to capture a trigger error where a cloud flow has failed to run at all.

  • WiZey Profile Picture
    3,023 Moderator on at

    As far as I am aware, it is not possible to check a flow's state from Power Apps.

     

    Your timer is a fine idea, as long as 5 seconds is enough for your flow to finish its job.

  • Chenz1 Profile Picture
    7 on at

    Thanks for your help @WiZey 

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard