web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Switch inside an IF st...
Power Automate
Unanswered

Switch inside an IF statement gives error ActionBranchingConditionNotSatisfied

(0) ShareShare
ReportReport
Posted on by 162

ActionBranchingConditionNotSatisfied. The execution of template action 'Switch' skipped: the branching condition for this action is not satisfied.

 

Switch is in the true side of the IF statement.  

I have tried different things for the value for the switch.  1) field from the request, 2) variable, 3) string

I used compose to see the value(s) before the IF statement.  Always shows correctly.  

Switch worked before the IF statement was added and when I remove the IF statement the switch still works.

 

anyone have experience with this?  

 

Categories:
I have the same question (0)
  • Risingrtech Profile Picture
    27 on at
    Re: Switch inside an IF statement gives error ActionBranchingConditionNotSatisfied

    It sounds like you need to look at the IF condition action, "ActionBranchingConditionNotSatisfied. The execution of template action 'Switch' skipped: the branching condition for this action is not satisfied." means that the IF condition returned false since your switch is on the true side of the IF statement. 

     

    what is your If statement and what are the values inside of it?

  • Amit_Sharma Profile Picture
    1,569 Super User 2024 Season 1 on at
    Re: Switch inside an IF statement gives error ActionBranchingConditionNotSatisfied

    Hi @urklnme,

    Could you please show me your flow where you are getting error. 

  • urklnme Profile Picture
    162 on at
    Re: Switch inside an IF statement gives error ActionBranchingConditionNotSatisfied

    create ADO power automate error 1.PNG

    create ADO power automate error 2.PNG

  • Verified answer
    Amit_Sharma Profile Picture
    1,569 Super User 2024 Season 1 on at
    Re: Switch inside an IF statement gives error ActionBranchingConditionNotSatisfied

    Hi @urklnme ,

    Please use expression in condition Action you cannot directly match whether the action return value or not.

     

    Amit_Sharma_0-1671479784498.png

     

    empty(outputs('Does_Work_item_already_exist')?['body/value'])

    Amit_Sharma_1-1671479841347.png

     

     

    -------------------------------------------------------------------------
    If I have answered your question, please mark post as Solved.
    If you like my response, please give it a Thumbs Up.

  • urklnme Profile Picture
    162 on at
    Re: Switch inside an IF statement gives error ActionBranchingConditionNotSatisfied

    Yes.  empty was the answer.  Many thanks to @Amit_Sharma .

     

    power automate has some inconsistencies when it comes to true and false.  Be so advised.

     

    This post may be helpful in that area:

    when true is not true - by manuel t gomes 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard