cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Using conditions to analyse multiple choice answers in MSForms

Hello

On the back of my previous post: https://powerusers.microsoft.com/t5/Building-Flows/How-to-do-simple-sums-with-variable-values/m-p/52... 

 

Which I have resolved

 

I'm testing if something is possible.  I want to analyse the answers to then send the person a mail to say if they have passed or failed the assessment.

 

The issue I'm having is the flow breaks down when a condition is analysing the answer to a multiple answer question.  I cannot find the correct format for the answer using a multiple answer question e.g. answer - is equal to -  ??????? .  In this test I just have the answer as "Correct" and "Correct1" screenshots attached.

 

Get response detailsGet response detailsShowing the failed conditionShowing the failed conditionHow I've set up the conditionHow I've set up the condition

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

Hi @Anonymous 

 

It looks like it is being returned as an array. What you can do is, in the condtion, change the operand to 'Contains' and remove correct1 from the first row, 

 

Add another row and then select the same field on the left side and operand as contains and then in the right box type correct1. 

 

Note that the two rows should have the operand as And at the top. Something like this: select the forms question in place of select:

de.PNG

 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

1 REPLY 1
yashag2255
Dual Super User II
Dual Super User II

Hi @Anonymous 

 

It looks like it is being returned as an array. What you can do is, in the condtion, change the operand to 'Contains' and remove correct1 from the first row, 

 

Add another row and then select the same field on the left side and operand as contains and then in the right box type correct1. 

 

Note that the two rows should have the operand as And at the top. Something like this: select the forms question in place of select:

de.PNG

 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (3,341)