Hi All,
I'm trying to build in some error handling into a flow I am using which is called via a PowerApp.
The objective of the flow is to check whether a Sharepoint site exists after the user has manually entered the site.
When a correct site is entered the flow works fine and completes as expected.
I have a Switch statement which checks the StatusCode to try and handle the errors. The switch statement works when the 'Get List' action is successful and StatusCode 200 is passed.
However if the 'Get List' action fails, the flow stops with error. I can see that the StatusCode 400 is in the output however the switch statement doesn't get called as the 'Get List' action fails.
Looking for advice how I can do error handling for the above.
Edit - Ok Solved. Key is to use the 'Configure run after' on the item that fails.
See below - this allows the flow to continue after the fail and I can catch the error code and provide feedback.
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2