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 : dUq4EIWrV55/iFuQorop4r
Power Automate - Building Flows
Unanswered

Parallel Branch - Condition - abbreviation = US States

Like (0) ShareShare
ReportReport
Posted on 17 Jun 2022 21:17:29 by 51

I am doing a basic workflow where people email to a SharePoint Online Document Library from a Shared Mailbox with an attachment.

The attachment will have AK all the way to WY for example for all 50 states.

I am doing a Parallel Action and a Condition for Yes / No if the Subject contains "DE" for Delaware.  And I am having to do so FIFTY times, for all the states.

 

I want to say if it is for Delaware, then put the files in a folder in a Document Library, for DE.

 

Is this the only way / best way / etc.?  I can create it and then go in copy this if I need to, to reuse for different things, yet it is a LOT.

 

If this is the logic I need to do, then that is fine.  I can't do an array as I need for different things to happen for each state.

Thank you.

I have the same question (0)
  • Pstork1 Profile Picture
    67,501 Most Valuable Professional on 17 Jun 2022 at 21:30:54
    Re: Parallel Branch - Condition - abbreviation = US States

    Instead of a parallel branch with a condition you should us a switch based on the state abbreviation.  Switches do have a limit on the number of cases you can have, but you can have a second switch nested in the default case of the first switch to handle the overflow.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete