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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Do we have MS Flow Con...
Power Automate
Answered

Do we have MS Flow Condition which can do it all or as selected

(1) ShareShare
ReportReport
Posted on by 24

Hi All,

 

I have a requirement where i have to check for a category and proceed with logic.

If its say A --> only steps related to A

If its say B --> only Steps related to B 

If category is All --> Perform all Actions related to A and B.

 

How i can achieve this in MS Flow.

 

Thanks,
Pallavi 

Categories:
I have the same question (0)
  • Verified answer
    Chriddle Profile Picture
    8,515 Super User 2026 Season 1 on at

    Conditions:

    -------------

    IF a OR all
        ....your code for a

    IF b OR all

        ....your code for b

     

  • trice602 Profile Picture
    15,888 Super User 2026 Season 1 on at

    Hi @GLPALLAVI ,

     

    You can also consider using a switch action which works well with 3 or more different value checks.  So add a switch action and then add an A value, a B value, and a default value.  Under the A value, do these steps, under the B value, do these steps, and the default is for all.

     

     

  • GLPALLAVI Profile Picture
    24 on at

    If i use switch then i will have to re write all the code in All or Default Condition , which i dont want to do

  • trice602 Profile Picture
    15,888 Super User 2026 Season 1 on at

    Understood.  Tom

     

     

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 291 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 238 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 109 Super User 2026 Season 1

Last 30 days Overall leaderboard