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 / Depending on form resp...
Power Automate
Answered

Depending on form response set a variable

(0) ShareShare
ReportReport
Posted on by 7

Hi Power Automate Community!

I'm trying to automate our company's new start process. We have a Microsoft form which gathers all the appropriate information, and I have this triggering a flow. From this Flow the plan is that based on the Job Title selected, it would then alert specific teams of their actions. The problem is we have over 100+ job titles! And I do not want to do a unique Switch Case per job title. I know that a lot of job titles will have the same requirements, so I was wondering if there was a way to use a Variable.

Is there a way I could set a Variable, have the flow look at the Job Title field, and if the Job Title = x, y or z. Set the Variable appropriately? This way I could massively reduce the number of switch cases in my flow!

Thanks,

Categories:
I have the same question (0)
  • Verified answer
    Ellis Karim Profile Picture
    11,994 Super User 2026 Season 1 on at

    Please have a look at the first part of this solution which when given a US states (in your case a Job Title) returns the state's abbreviation (Team to alert):

    Routing files into Sharepoint document library subfolders from Form submission

     


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

  • fracturechris Profile Picture
    7 on at

    This worked perfectly, Thanks!

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard