Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Parallel Branch - Condition - abbreviation = US States

(0) ShareShare
ReportReport
Posted on 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.

  • Pstork1 Profile Picture
    67,060 Most Valuable Professional on at
    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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1