Hello all.
I have some questions in a Microsoft Form where, if the user choses a certain response [from multiple choice] then that triggers an email into our admin to let us know the answer is wrong.
I thought I had built it but it doesn't work with the error 'Cannot read properties of undefined (reading 'config'). Any help would be appreciated!
@KTFr0st Because you are using the When a New Response is triggered flow trigger, the Apply to each action isn't necessary in your flow.
Note: I'm using the classic designer.
To troubleshoot your Condition, I would recommend placing the dynamic content for the form response into a Compose action. This way you can view the output of the response.
Before you add any additional actions to your flow. Run a test. Review the output of the dynamic content. I'm not sure what your output is.
I cover how to parse a multi-choice response in this section of a YT Tutorial.
If there a specific answer that is selected in the multi-choice response, you need to set up your condition in a different way. Currently you are using the is equal to operator.
The Condition action in your flow is looking to see if the dynamic content value you inserted in to the first value field (left) is equal to the string of text you entered in the second value field (right).
For example, if I insert the output of the Compose action into the first value field (note the output of the Compose action above), and use the contains operator. I can search the string of text to see if Option 2 is contained within the string of text.
Keep in mind the text you enter is case sensitive. If I enter "option 2" it'll return false. However, because "Option 2" is contained inside the string of text, the result is true.
You might also be interested in this YT Tutorial: How to Get a Microsoft Form RSVP Response into a SharePoint List
I cover the following in this video tutorial:
âś… How to get a Microsoft Form Response into SharePoint
âś… How to get a Microsoft Form ID
âś… How to get a Microsoft Form response
âś… How to Build a Microsoft Form with Conditional Fields
âś… How to used Branching in Microsoft Forms
âś… How to format Microsoft Form multiple choice responses for a SharePoint multi-choice column
âś… How to parse a Microsoft Form multiple choice response as string of text
âś… How to convert a text response to a number
âś… How to use the Switch action
âś… How to create a custom email confirmation for a Microsoft Form submission
âś… How to Create a Custom View in a SharePoint list
âś… How to use the Compose Action
âś… How to write Power Automate Expressions
Hope this helps!
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional