Mar 29 2019
08:53 AM
- last edited on
Aug 06 2023
04:04 PM
by
TechCommunityAP
Mar 29 2019
08:53 AM
- last edited on
Aug 06 2023
04:04 PM
by
TechCommunityAP
Hello,
Does anyone know if Forms Pro makes it possible to get a Quiz's Points Scored value using Flow?
Specifically, I need to use a Flow to access the Points Scored values from the spreadsheet made available by MS Forms by clicking on the Open in Excel from the Responses tab.
Here is the functionality I hoping is now available in Forms Pro from the MS Forms Suggestion Box: https://microsoftforms.uservoice.com/forums/386451-welcome-to-microsoft-forms-suggestion-box/suggest...
Thanks
robertg
Apr 04 2019 01:08 PM
SolutionIt does not appear MS Forms Pro makes a quiz's points scored available to Flow.
I created a MS Forms Pro Quiz
I created a Flow triggered when a MS Forms new response is submitted
I added MS Forms Get response details to the Flow
I added a SharePoint Create item to the Flow
I then took the quiz and the Flow triggered
I checked the OUTPUTS in Create item and did not see any reference to 'points scored' in the JSON.
So, I'm thinking getting MS Forms Quiz points via Flow is still not possible.
If this is not a valid test or I am missing something, could someone please let me know?
Thanks
Sep 24 2019 08:21 AM
Confirmed. I tried the same. Anyone know how to get this information out of Microsoft Forms?@rgentile
Sep 24 2019 08:31 AM
Oct 03 2019 09:23 AM - edited Oct 03 2019 09:26 AM
Hello @gbenoit
We had to do what you are trying to avoid doing and it was a lot of work.
Requirements: Users would take a MS Forms’ quiz. The grade earned would be stored in a SharePoint list.
Our first attempt we let MS Forms determine the grade earned, but we could not get at the points scored. So, our approach changed to determining the grade earned in Flow.
Here is (a simplified version) what we ended up doing:
This does create the dependency that if a question or answer in the form changes, the Flow must be updated.
Note: we had to create 37 Flows, so we created a template Flow then copied each item in the Flow to the clipboard (new Flow feature, click on 3 dots on right of item and choose Copy to my clipboard). We created the new Flow and pasted in each item from the clipboard then, where necessary, updated the item. Using the Copy to my clipboard feature saved us a lot of time.
Good luck.
Mar 24 2020 01:51 AM - edited Jan 08 2024 12:59 AM
This was driving me crazy for days, but i've found a workaround to mark quizzes through flows. it's a bit tricky, but should work.
*This is my first post, and i'm not a developer*
1. Get response details (forms)
2. Initialise a variable for each question in your quiz - you'll then use a condition to set that variable to either 1 or 0
3. use a condition to test the answer to the question and "Set variable" to add a point for a correct answer
****i've since been back over my flow and tightened it up with by using a single "increment variable" instead of setting up a variable for each question. if anyone would like a further explanation then i can revisit this post****
4. when all the questions have been completed you'll need to use a "compose" function to add all the variables (answers) together. *it's important to note that the ADD function only works for two variables, so you'l need to use nested functions
5. now you just need to set the pass mark condition and what happens for pass/fails
Please accept this solution if you feel that it's a suitable workaround for marking quizzes with flows.
cheers,
Ryan
Apr 10 2020 02:45 PM
@ryanVSS I tried your workaround solution, but in the condition step to test the answer, the "set variable" attempts to update the initialized variable as a text string instead of a variable. Did you run into this? Am I missing something?
Jun 17 2020 02:24 AM
Jun 17 2020 02:28 AM
Jun 17 2020 02:31 AM
Aug 29 2020 01:45 PM
@ryanVSS can you provide some guidance on the nesting process for adding the points?
Apr 07 2021 07:04 AM
Hey Buddy,
I have been trying to do this for 2 days now and I am getting an error message.
The inputs of workflow run action 'Compose' of type 'Compose' are not valid. The variable 'Answer1' must be initialized before it can be used inside the action 'Compose'.
Here is what I am trying to do...
If I don't add the variables with the formula in compose which I have mentioned below then it will work but then of this is how I do it and it does not sum the values. So eventually does not help me
Add(variables('Answer1'),add(variables('Answer2'),add(variables('Answer3'),add(variables('Answer4'),add(variables('Answer5'))))))
Apr 07 2021 07:14 AM
Apr 07 2021 07:19 AM
Tried it and still getting the same error..
I have attached the flow for reference, please let me know if you can fix it.
Apr 07 2021 07:22 AM
Apr 07 2021 07:26 AM
Apr 07 2021 07:52 AM
Apr 07 2021 08:12 AM
Apr 08 2021 04:26 AM
Hi, yes I added the formula in expression content and not dynamic.
I am not sure why this is not working, I seem to have done everything as per the steps you mentioned.
The strange thing is it works absolutely fine when I don't use the compose step in my flow.
Apr 08 2021 04:31 AM
Apr 04 2019 01:08 PM
SolutionIt does not appear MS Forms Pro makes a quiz's points scored available to Flow.
I created a MS Forms Pro Quiz
I created a Flow triggered when a MS Forms new response is submitted
I added MS Forms Get response details to the Flow
I added a SharePoint Create item to the Flow
I then took the quiz and the Flow triggered
I checked the OUTPUTS in Create item and did not see any reference to 'points scored' in the JSON.
So, I'm thinking getting MS Forms Quiz points via Flow is still not possible.
If this is not a valid test or I am missing something, could someone please let me know?
Thanks