Results Slide Percentage Not Resetting After Quiz Retry

Feb 22, 2021

Hi all. I have a 7 question quiz that incorporates different feedback layers per each question. The quiz results (both percentage and score points) display correctly the first time through but users are noticing that if they fail the quiz the first time and then successfully pass the second time after retrying, that the results slide will show the Success layer but the percentage number (%Results.ScorePercent%%) displayed does not update from the failed percentage number from the first quiz attempt, although the Passing Score does display correctly. Has anyone else had this issue and could help? I've added the quiz below.

7 Replies
Test_Luiza Quinto

Hey, Leila!

After testing your .story file in Preview and SCORM Cloud, I concur with Erin. The score percentage (%Results.ScorePercent%%) got updated when I retried the quiz.

Just a quick clarification though -- do you observe this concern when running the course on your LMS? If so, then it may be worth giving this trick a try.

We'll be glad to hear back from you so we can all continue working on this together!

Leila Rao

Hi, Erin and Luiza. Thank you for your speedy replies. I'm glad it's working for you correctly. And Luiza, yes, this issue did show up when we did user testing in our Saba LMS. I read through the instructions that you sent from the other posting and the fix says to change the js file code (see below) will ensure that a learner's score can only go up. BUT with this course a learner could unfortunately do worse on subsequent quiz retries so I'm not sure if changing the code will actually be a good thing unless I'm reading this code incorrectly. Could you advise please? Thanks!

var SCORE_CAN_ONLY_IMPROVE = true; //set this to true to ensure that on subsequent attempts, a learner's score can only go up

This is already set to true in my js script file so I won't have to make this recommended code fix: var REVIEW_MODE_IS_READ_ONLY = false; //set this to true if no new data should be saved when a course is launched in review mode (normally this is the LMS's responsibility)

Leslie McKerchie

Hello Leila and welcome to E-Learning Heroes. 😊

Thanks for the update, I just want to confirm a couple of things:

  • Is this working as expected within your course preview and the issue is only happening in your LMS?
  • Are you stating that you would like the possible lower score to be reported to the LMS?

The solution that Luiza referenced for you can be found here:

Storyline and Studio: Score Doesn't Update When Retaking a Course

Michelle Court

Hi guys, I've been having similar issues. Simple freeform questions with a bank of 59, pulling out 20 in total. Learners have the option to retry. If they do the Result variables don't initialise even though they are set to reset on clicking retry. I've attempted to fixed this in two rebuilds now and have resorted to not using the inbuilt variables. I have also tried all variants of results slides. Would share the file but I'm currently working on a piece for a bank

Lauren Connelly

Hi Michelle!

It sounds like there might be a Trigger in the way of the results resetting. On the Results Slide, when are the results submitted? When the timeline starts, when a button is clicked, etc. Could it be that the results aren't submitted before the result variable is set to submit? 

Even if you can't share the .story file, I know our Support Engineers can help figure out what is in the way of the results resetting. You can connect with a Support Engineer for in-depth troubleshooting.

Leila Rao

Hi, all. Sorry for the delay but I don't know if I have an actual fix that works for this until the course is launched and we find out if the fix we did actually worked. On the Saba LMS side a setting was not set to accept the highest completion quiz score (passing score is 80% or higher) so we think that may have been the problem but honestly, I think that might be a separate issue for the problem seemed to be the code in Articulate Storyline not resetting the Quiz Results percentage correctly on screen to the user after the 2nd quiz attempt whether the user failed or succeeded. So for example, the user's 1st quiz attempt was a fail with 71% that displayed on screen but the user's 2nd quiz attempt was successful at 100% but the 100% score was not displayed - only the 71% score remained onscreen even though the LMS recorded the 2nd attempt as completed/passed.