Storyline Branching After Quiz Results

May 10, 2012

I have created a Quiz bank followed by a results page, inside my Storyline project. I want to set triggers to send the user to an alternative page when they fail the quiz, which gives them the option of re-taking the quiz or re-doing the course all over again. I have the alternative page already setup, with two buttons with hyper links to get them where I want them to go. For for those users that are successful, I want it to send them to the next slide.

What I need guidance on is setting up the triggers to automate this for the user based on quiz results. I've tried but it only sending to the next page, pass or fail.

Thanks in advance,

Timothy

22 Replies
Brian Batt

Hi Timothy and welcome to Heroes,

I've recorded a quick screencast and included a copy of the .story file that walks you through how to accomplish this:

http://www.articulate.com/support/contact/screencast.php?screencastid=c829ea9f22c44a1c8101cd0a8036bb5e

Essentially, you need to add conditions to the Next button in the result slide that check whether or not the end-user has passed the quiz.  If they didn't pass the quiz, you send them to your alternate page.  If they pass the quiz, you send them to the next slide for the rest of the content.

Finally, on the alternate page, you'll need to add a Reset Results action when the Timeline starts so that the user will be able to answer and submit the results again on the retry.

=======================================

We can actually make this less complicated by getting rid of the extra slide.  I created a quick screencast that shows you how to present the end-user with the Retry Quiz and Review Content choices without an additional slide:

http://www.articulate.com/support/contact/screencast.php?screencastid=95dee933dbda4a38b86d1bfcf042fc6a

Vera Michaels

I have a similar situation but the variables are not being set as desired. Can someone help me sort this out?

The goal is to change the state of the section button on the menu page to "visited" if the user passes that section of the pre-test. So on the results page of the pre-test, a trigger is set to change the variable ("Topic1complete") to true if the "results.passpercent is >= 80.00". I am finding this is still not working. Not sure what to do at this point. Any ideas on how to make this work? Once I get topic1 to work I need to do this for the remaining 6 topics. I appreciate your help!

Wendy Farmer

Hi Vera

see updated file.

SL has built in states e.g. Visited and SL knows automatically what to do when these states are used - it doesn't really like you using them in triggers and can cause issues so I have made the following changes:

  1. Duplicated your visited state, created a custom state called Completed, then deleted the visited state.
  2. Used the 'completed' state in the trigger
  3. Changed the trigger on the results slide to use the results score percent and results pass percent variables.

Let me know how you go.

Vera Michaels

Wendy,

I did as you said and created a new state called "Completed" and changed the instruction to use that state versus the 'visited' state. I am using a variable on the quiz result slide to change the 'topic1complete' variable if the result score percentage is greater than 80%. What I am finding is that even if the student fails the pretest, it is still showing the completed state for the button. Something must be wrong with my variable to allow it to mark it complete with less than 80% passing. Any guesses?

Wendy Farmer

Hi Vera

Trigger order is very important

move the triggers on each result slide that adjust the topic complete variable to be the first trigger in the list. Having it below submit interaction meant it was never executing.

I just did the first five Quizzes - failed all (of course) and none of the topics on the menu slide changed to completed.

Let me know how you go

Vera Michaels

Wendy,

It looks like you removed the other tests. So this is what I did. I have 5 tests. I deliberately passed the first test and failed the rest. When I got to the menu slide it had a green check mark (indicating section complete) for all 5 sections. So do you think that is because the first trigger was marked 'complete' it marked the others complete? 

I created the topic1complete trigger and copied it to make the others changing the trigger to the next topic number. Do you think Storyline thinks that once topic1 is complete they all get the same "complete" status regardless of the fact they are different?

Wendy Farmer

Ok I found it in your original file - it worked in my example of one quiz because it was referencing the correct variable but you have repeated that variable in all triggers - they need to change depending on the the result slide.

On each result slide the variables result.score points is different for each result slide - you have them using the result.score variables for the same one for each quiz.

You need to adjust the SetTopicx complete variables on each result slide to reference to the correct result variable.

Shout out if you need more help

 

This discussion is closed. You can start a new discussion or contact Articulate Support.