Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

ActionBranchingConditionNotSatisfied error message

(0) ShareShare
ReportReport
Posted on by 5

Goodday,

I want to move certain emails to a folder. ive created a flow which should work imo. The flow detects the specific email which i want to be moved. The action for moving the email doesnt work. it gets the message:

ActionBranchingConditionNotSatisfied.

The error is well documented but i couldnt find any solutions which have worked for me.

Flow checker and Test doesnt give error messages, but the email doesnt get moved to the specific folder.

 

niekio_1-1674817554387.png

 

niekio_2-1674817764105.png

What do i do wrong? And how do i fix it? i cant figure it out. Thnx in advantage!

 

 

  • Expiscornovus Profile Picture
    32,155 Most Valuable Professional on at
    Re: ActionBranchingConditionNotSatisfied error message

    Hi @niekio,

     

    First of all you are right about the setup and that it does not matter that it will evaluate at the end of the 26 items loop. With your configuration your are only setting the variable when you found a match 👍.

     

    I misread that part of your config, my bad.

     

    I prefer expressions over the usage of a string variable which is empty. I personally would change the empty variable and use an length or empty function instead for the check if the TestResult variable is empty or not.

     

    In the last condition you could try:

    length(variables('TestResult'))

    is greater than 0

     

  • niekio Profile Picture
    5 on at
    Re: ActionBranchingConditionNotSatisfied error message
     

    This is my full tree. The 26 loops is created by the word list which contains 26 words atm.

    "Since you are checking outside the loop, that last item will be used in the criteria of the Result condition action. " This makes sense to me, but i dont think it works that way. But i will try it out, and make it within the loop.

    What i want the flow to do: Check for words, IF there is a hit on a word, delete mail or move to deleted items.

    If i am not mistaking: the loop checks for words, if there is a hit;the variable is set. IF there is not a hit; the variable doesnt get set. So it doesnt matter wether the 26th word is positive or not. IF there is a hit on the 13th word, the variable is still being set... the variable value doesnt change when the loop registers a false after the true statement

    Well... what ever i will try youre solution, I dont got anytime this weekend, maybe monday. Thnx for your trouble shooting ❤️

     

    niekio_1-1674848366713.png

     

     

  • Expiscornovus Profile Picture
    32,155 Most Valuable Professional on at
    Re: ActionBranchingConditionNotSatisfied error message

    Hi @niekio,

     

    I see that the variable is set. But it is in the first 1 item and I cannot see what the value is.

     

    I see your loop has 26 items. Can you check what is set in your Variable 2 in the 26th item? Since you are checking outside the loop, that last item will be used in the criteria of the Result condition action.

     

    Btw, the screenshot clearly says the outcome of your condition false, which means the criteria within your condition action is not met and it will go to the If No section of the condition.

     

    Expression result = true (If Yes section)

    Expression result = false (If No section)

     

    expressionresult_false.png

  • niekio Profile Picture
    5 on at
    Re: ActionBranchingConditionNotSatisfied error message

     This not the case. (you can see in the picture) the testresult variable is set in 'Variable 2' to a value. 

    The Empty value is empty.  so testresult is NOT equal to Empty

    So the answer to the last condition is Yes. 

  • Expiscornovus Profile Picture
    32,155 Most Valuable Professional on at
    Re: ActionBranchingConditionNotSatisfied error message

    Hi @niekio,

     

    It looks like your expression is returning a false result.

     

    This means that your TestResult variable is equal to your empty variable and it goes to the If No section of your flow under the Result condition action.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1