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 / 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,525 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,915 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,915 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 60 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 54

#3
Expiscornovus Profile Picture

Expiscornovus 47 Most Valuable Professional

Last 30 days Overall leaderboard