Announcements
Hello All,
I have a Flow set up on the button. And I'm trying to display an error message if Flow fails to get triggered. Is there any way we can achieve this?
Thanks,
Omi
Hi @omi18 ,
you can add an action - respond to powerapps in your flow and then use the If condition to validate the respond action.
see a solution here:
https://powerusers.microsoft.com/t5/Building-Power-Apps/quot-Success-quot-Message-after-a-flow-run/td-p/835603 _____________________________________________________________________________________Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!
Hi @Gochix ,
Thank you for your reply. But I want to capture errors before flow runs. i.e., flow throws an error before it triggers.
Best,
I’m not sure if you can do this. you could try to collect a new collection like ClearCollect(flowcol,YourFlow.Run())
and then see if the values are in collection. Then you could use that data to check if in collection is data then run flow if not then diplay error message. Not sure if this will work as when collecting a collection your flow would trigger anyway. So no idea if there is a work around for this
_____________________________________________________________________________________Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!
Yeah, I did try this but didn’t work.
If a flow failed to be fired, there must be some "reason", which you can use to notify the user within an If statement:
If( IsBalnk(TextInput2.Text), Notify("Value1 is required"), IsBalnk(TextInput2.Text), Notify("Value2 is required"), IsBalnk(TextInput3.Text), Notify("Value3 is required"), Flow.Run() )
Best regards,
Hi Omi,
On settings you can enable error handling and use IfError function to test if the trigger is working or not.
IfError(<flow>.Run(), Notify(<error message>,NotificationType.Error))
Hi @victorcp ,
Thanks for the reply. This works.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 393 Super User 2026 Season 2
Mohsin Ali 328
WarrenBelz 278 Most Valuable Professional