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 / Flow "Successful" but ...
Power Automate
Answered

Flow "Successful" but not really..

(0) ShareShare
ReportReport
Posted on by 47

Hi Power Automate World, 

Another Newb question from me. I'm testing a simple flow I created that renders a successful status at each run, but the final step isn't being completed because the conditions are all coming back "false" but there's one I've purposely made "true" for testing. I think the hangup is somewhere in the condition I have set up, and I can't tell if the fix lies in PA or within the Excel Doc I'm using. 

 

Here's my flow. I've tried both "Apply to Each" and/or "For Each" and neither yield the result I need. 

rtaylor1stComm_0-1713911189657.png

My condition is set to look for Days Left to be equal to 160 and if "True" send an email to the user (me, in this test case) notifying the user that their license is due soon.

rtaylor1stComm_2-1713911398197.png

 

The example below is a shot of the row I have set up in my table to test. You can see "Days Left" is 160. This is the 29th row of my table. 

rtaylor1stComm_1-1713911360649.png

 

However, when the test runs, I get a message over at the "Send Email" step that says ActionBranchingCondition is not satisfied, and when I go through each row entry, I come to row 29 and see that the came back "false" instead of true, even though Days Left does equal 160

rtaylor1stComm_4-1713911599352.png

 

I've run the mill of ways to edit, but again, I'm not sure if this actual flow or the way I have "160" formatted in the Excel table. I have it as a Number format because I have a formula running that calculates amount of days from today's date to the actual due date. 

 

Any advice would be appreciated as I learn this program. 

Categories:
  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    I can take a look on a Teams call. Are you available now?

     

     

  • rtaylor1stComm Profile Picture
    47 on at

    Thank you for your suggestion; however, being that I'm using my work network and server, I won't be able to take you up on that Teams call for security reasons. 

     

    thank you, 

  • creativeopinion Profile Picture
    10,508 Moderator on at

    @rtaylor1stComm Instead of using an Apply to Each (aka For Each) and Condition action to loop through each row in your Excel table to see which rows meet your criteria. It's a lot more efficient to use a Filter Array action or a Filter Query in the List Rows Present in a table action.

     

    If using a Filter Query in the List Rows Present in a table action, you need to ensure your column header doesn't have any spaces.

     

    creativeopinion_0-1714420170374.png

     

    creativeopinion_1-1714420213588.png

     

    Note: The List rows present in a table action returns up to 256 rows by default. In order to get all rows, you will need to toggle on pagination and set a threshold. 

    creativeopinion_2-1714420263157.png

    creativeopinion_3-1714420274704.png

    Whenever I use a Filter Query in a List Rows Present in a Table action, I always like to return the count of items returned in a Compose action. This is helpful when building a flow and can also be used to troubleshoot your flow.

    Insert a Compose action. Add an Expression. Use the length() function.

     

    creativeopinion_4-1714420306059.png

    Select the Dynamic content tab and insert the body dynamic content from the Filter Array action into the length() function.

    creativeopinion_5-1714420316056.png

     

    Add a Condition action to your flow. If items have returned (aka there is number stored in the Compose action—that is not equal to 0), add the rest of your actions to the Yes branch. If not, do nothing.

    creativeopinion_6-1714420390312.png

     

     

    For more flow troubleshooting tips—check out this YT Tutorial: 5 Power Automate Troubleshooting FAQs and Helpful Tips for Creating Better Flows

     

    In this Power Automate tutorial, I explore 5 frequently asked questions that pop up when troubleshooting a flow. If you’d like to to level up your Power Automate flow skills and learn how to troubleshoot your Power Automate flow—this tutorial is for you!

     

    IN THIS VIDEO:

    ✅ How to troubleshoot a false Condition action result

    ✅ How to get dynamic content when it isn’t selectable from the list of dynamic content

    ✅ How to troubleshoot an Apply to Each action that isn’t looping through

    ✅ How to troubleshoot a skipped Apply to Each action

    ✅ How to troubleshoot a Filter Query

    ✅ How to use a SharePoint yes/no column in a Filter Query

    ✅ How to use Compose actions to troubleshoot a Power Automate flow

    ✅ How to troubleshoot multiple emails being sent

    ✅ How to troubleshoot multiple Teams messages being sent

     

    Hope this helps!

    If I helped you solve your problem—please mark my post as a solution ✅.
    Consider giving me a 👍 if you liked my response!

    👉 Level up your Power Automate skills by checking out my tutorials on YouTube
    👉 Tips and Tricks on TikTok and Instagram

     

     

  • rtaylor1stComm Profile Picture
    47 on at

    Thanks for this. I did try it, and got a little confused at "Add a condition" when  you said if items are returned (aka there's a number stored in your Compose action). I just built the flow almost verbatim how you suggested, using the length expression in the Compose action. So, I'm a little confused on what you mean by "number stored" there. 

  • creativeopinion Profile Picture
    10,508 Moderator on at

    @rtaylor1stComm When you run a test, the Compose action will output a number. This number will indicate how many items have returned from whatever you've inserted into the length() function. In your case, it'll be the number of rows returned from the List Rows Present in a table action.

     

  • rtaylor1stComm Profile Picture
    47 on at

    Thank you, 

    The test keeps failing so I don't have a number generated; however, I have 31 rows on my excel list (at the time) I don't ever see it growing to be over 256 rows, so is the Pagination option necessary? 

     

    Thanks for all your help. What's so frustrating is my original flow worked and sent out emails successfully at a time; however, I went in to edit the flow just to fix a date-formatting error within the email body of the last action, and it hasn't worked since. 

  • creativeopinion Profile Picture
    10,508 Moderator on at

    @rtaylor1stComm can you please share a screenshot of your full flow in the Classic designer with all actions expanded (in edit mode)? Also, if you are switching between the new designer and classic designer I'd recommend sticking with the classic designer as the new designer is still buggy.  

     

    If your excel table will never go over 256 rows, then toggling on pagination isn't necessary. 

  • rtaylor1stComm Profile Picture
    47 on at

    So what I've done now, is start from scratch and test each action/step of the flow before adding anything else. My test number to find in the DaysLeft column of my excel table is 145. From the screenshots, you can see my Compose actions is in fact bringing back 145 from the 30th row of the table. 

    rtaylor1stComm_0-1715279296492.png

     

    Going from there, I add a Condition and it creates the For Each. I need to choose an output from the previous step. I only have the options you see in the next screenshot, so I select it. 

     

    rtaylor1stComm_1-1715279350534.png

     

    From there, my Condition window pops up and from the Dynamic Content list, I have the columns of my table and some other options to choose.

    rtaylor1stComm_2-1715279496681.png

     

     

    This is where it gets tricky! I've tried everything I thought would work at this step, however--all results come back "false" and therefore I'm not ready to add the next action. It's saying it's successful, because it didn't run into errors, but to not see the 145 as "true" is an error for me. 

     

     

  • rtaylor1stComm Profile Picture
    47 on at

    I'll update my lastest reply with screenshots of the Classic Mode. I hadn't seen your request for this before posting. 

  • rtaylor1stComm Profile Picture
    47 on at

    It doesn't like when I do the Filter Query. It fails and says 'BadRequest' any time I add it. It passes at least this first step when I don't have it. 

     

    rtaylor1stComm_0-1715281891166.png

     

     

    Flow in Edit Mode 

    rtaylor1stComm_1-1715281914615.png

     

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard