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.
What do i do wrong? And how do i fix it? i cant figure it out. Thnx in advantage!
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
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 ❤️
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)
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.
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.
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1