Forum Discussion

rgentile's avatar
rgentile
Brass Contributor
Mar 29, 2019

Quiz score available via Flow in Forms Pro?

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/suggestions/31243432-quiz-score-available-to-ms-flow

 

Thanks

 

robertg

  • It 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

  • ryanVSS's avatar
    ryanVSS
    Copper Contributor

    rgentile 

     

    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 

     

     

     

     

     

     

      • ryanVSS's avatar
        ryanVSS
        Copper Contributor
        Add(variables('Answer1'),add(variables('Answer2'),add(variables('Answer3'),add(variables('Answer4'),add(variables('Answer5'))))))

        each " Add() " is a function that you need to nest. essentially, you keen adding " Add( " for each variable until you've accounted them all. Then you need to close your nest with " ) " for however many functions you've added. The example above has 5 extra " ) " as there are 5 variables being counted.
    • AndyShelton's avatar
      AndyShelton
      Copper Contributor

      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?

      • ryanVSS's avatar
        ryanVSS
        Copper Contributor
        Hi Andy,

        sorry for the late reply, hope you got on ok?

        if not, can you post your flow and i'll take a look at it to see if I can help.

        cheers,
        ryan
    • Abhash_'s avatar
      Abhash_
      Copper Contributor
      This worked like a charm in my case! Thanks a ton
  • rgentile's avatar
    rgentile
    Brass Contributor

    It 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

    • gbenoit's avatar
      gbenoit
      Copper Contributor

      Confirmed.  I tried the same.  Anyone know how to get this information out of Microsoft Forms?rgentile 

      • gbenoit's avatar
        gbenoit
        Copper Contributor
        To add more detail: I'm using Microsoft Form quizzes to test employee subject knowledge. I was hoping to pull the results of the quizzes into a SharePoint list, which I could make visible to the employees, so they could see an overview on what subjects they've mastered and which they still need to work on. Microsoft Forms offers a great interface for the quizzes, but each quiz is stand alone, and I need to compile the results for the employees to review.

        To do this in SharePoint now, I'd have to check each question's answer via the Flow and then calculate the results, which is an awful lot of work. Does anyone know another way of accomplishing the same thing? Maybe with a different Microsoft tool than SharePoint?

Resources