Re: How to fix a flow that fails due to blank rows in a table
It's not really a condition, it is how you configure the run after settings for the step that comes after the failure. If the failure is acceptable because you know what is causing it (in my example doing a get user profile on an account that has been deactivated), then you can set the action after it to run whether the prior action has success or has failed.
I just set up another flow today to take advantage of failures because I know why it is failing and that is okay. In my process I have a flow that runs every day on a list to find expiration dates that will expire in four weeks. It sends an e-mail to the manager listed in the item asking if the expiration date needs to be extended.
However, there were problems with this as there were a number of requests where the manager is no longer with the company, so nobody was getting notified to ask if an extension was needed, which resulted in another process removing access.
So, I created a flow to run each day on this list to check the manager listed and see if the account is still active. If not, it sends an e-mail to HR so they can see who replaced the person so that the item in the list can be updated. This is the flow:

It is manually run for now as I am still testing, but plan to switch it to a scheduled flow. The three variables are all integers and I use them to count valid managers, invalid managers and the total number of requests it reviewed. If it finds items (the get items action is filtered to active items), there is an apply to each action to process each item:

Below the Get user profile (V2) action I have two parallel actions. The one on the left is to configured to only run on success while the one on the right is configured to run on failure or skipped:

As you can see, the failed side sends an e-mail so that the item can be updated with a valid manager. Outside of the Apply to each I have an e-mail action that sends the results of the run. This is configured to run on both success and fail since if there is a failure in the Get user profile action, it also counts as a failure in the Apply to each.
I hope this makes sense.
David