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 / Checking the value of ...
Power Automate
Unanswered

Checking the value of multiple fieldnames using wildcard

(0) ShareShare
ReportReport
Posted on by 8

Hi all

 

I have over 2 dozen question fields in an MS form and i am using a flow to check the answers.

 

If any answers are 'no' I am looking to record this in a string and an email it out (I'd be able to do this part ok).

 

Is there a way to search though a large number of questions, rather than creating a large condition.

 

quesiton1.value

question2.value etc

 

eg

for each field like fieldname = question

if questionXX.value = 'no'

 save questionTextXX.value and questionanswerXX.value to new string

 

 

Categories:
  • Rahber Profile Picture
    1,935 on at

    You can do this but the Forms field names are not relected properly rather they are in string form so for you to map these will be difficult.

    So for example this is the action i used to get my response from form

     

    flow.PNG

    So for example i know my form had a Name field  (in above picture its the test123 ) so i can reference that name field value with the following variable

    body('Get_response_details')?['r64f33f8782f3494dacc1e1505c23f7d8']

     

    But there is no way to find out the names of the field as the variables they get in form is a random string.

     

    Please click Accept as Solution if it resolved your problem or give it a Thumbs Up if it helped you in anyway this will allow other people to search correct solutions effectively.

    Thanks,

    Rahber

  • dónal Profile Picture
    8 on at

    Thanks Rahber

     

    Is there anyway that i could check " if any value in the form = No " (regardless of name)

     

    then I could add those to a string

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 355

#2
11manish Profile Picture

11manish 336 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard