Forum Discussion

DonGriesheimer's avatar
DonGriesheimer
Community Member
2 years ago

Is there a way to suppress a page trigger when resuming?

Is there a way to suppress a trigger on a master page template when resuming?

This is the use case. I have a product for a test review that is an un-timed quiz with about 150 questions. Needless to say, it's important the the learner knows how many questions are left to go to complete the activity. I have set up the file so that it always resumes on restart.

To keep track of the number of questions remaining,

  1. I set a variable default to the number of questions plus one.
  2. Then, in the Master Slide layout, I put a trigger to set the variable to variable minus 1 on start of timeline for the slide.
  3. Also on the master slide is the text "[variable] of x questions remaining" to let the learner know how many questions remain in this activity.

However, when published to xAPI, the master trigger completes again, causing the count to be incorrect upon resume. However, when published to SCORM 2004 4th edition, the master slide trigger is not activated again upon resume.

Other than publishing in SCORM 2004 4th edition and losing the xAPI data, is there any other work around?

Thanks in advance for your assistance.

  • Hello Don, 

    Happy to help!

    Can I ask if you've tested the behavior of your course in a different LMS to see if the behavior you're experiencing is LMS specific? SCORM Cloud is an environment that you can use for this purpose. I haven't encountered this issue before where the values of variables changed when published using different LMS learning standards, so this is something that I'd like to investigate as well.

    If you are able to replicate the behavior in SCORM Cloud, would you be willing to share a copy of your project file here or in private by opening a support case so we can take a closer look at what's happening? We'll delete it when we're done testing!

  • Hi,

    Thanks for your reply. On further testing, the difference was not based on the publishing protocol, but rather having the "Prevent user from clicking base layer" selected on the feedback layer.

    During this round of testing, I've only discovered one solution, though the one solution will require a great many triggers to be set.

    Here is the scenario for our use case:

    Purpose: to construct a practice certification course using MC questions imported from a spreadsheet. This means that each option has its own rationale producing 4 layers per question. These course run up to 600 questions per course.

    The only testing where one can exit the course and resume from either the base layer or feedback layer required an trigger be put on the continue button of each feedback layer. If my math is correct, this would total up to 2400 triggers that need to be added to the course manually.

    Yes, I tried adding the trigger to the Feedback layer button, to no avail.

    One think I learned from my testing is that a trigger adding 1 to the variable that holds the number of remaining questions (varQuestionsRemaining) before the "Exit Course" trigger has no effect on the variable.

    Below is my testing results:

    Test Variable adjustment set up Slide Master Base Layer Triggers Confirm Layer Exit Button (called from Master Slide Base Layer) Feedback Layer From Base Layer From Feedback Layer Notes:
    1 varQuestionsRemaining set to number of questions +1 Subract 1 form varQuestionsRemaining on timeline start;
    Show layer Confim on user clicks Button 1
    Add value 1 to varQuestionsRemaining; Exit course Hide this layer; Jump to slide next slide on user click "Continue" Pass Fail  
    2 varQuestionsRemaining set to number of questions +1 show Layer Confirm on user clicks Button 1 Add value 1 to varQuestionsRemaining; Exit course Subtract 1 from varQuestionsRemaining; hide this layer; jump to slide next slide; on user click "Continue"  Fail Pass Have to add Subract 1 trigger to 4 feedback layer per question.
    Course consists of 600+ questions (very labor intensive)
    3 varQuestionsRemaining set to number of questions show Layer Confirm on user clicks Button 1 Add value 1 to varQuestionsRemaining; Exit course Subtract 1 from varQuestionsRemaining; hide this layer; jump to slide next slide; on user click "Continue"  Pass Pass Have to add Subract 1 trigger to 4 feedback layer per question.
    Course consists of 600+ questions (very labor intensive)
    4 varQuestionsRemaining set to number of questions +1 Subract 1 form varQuestionsRemaining on timeline start; Not used Hide this layer; Jump to slide next slide on user click "Continue" Pass Fail  
    5 varQuestionsRemaining set to number of questions +1 Subract 1 form varQuestionsRemaining on timeline start; Not used Set Property to Prevent User from Clicking on Base Layer Pass Fail Cannot Exit and Resume from Feedback Layer;
    Button visible, not active
    6 varQuestionsRemaining set to number of questions +1 Subract 1 form varQuestionsRemaining on timeline start; Not used Set property to Pause timeline of base layer Pass  Fail  
    7 varQuestionsRemaining set to number of questions show Layer Confirm on user clicks Button 1 Exit course only Subtract 1 from varQuestionsRemaining; hide this layer; jump to slide next slide; on user click "Continue"  Pass Pass Have to add Subract 1 trigger to 4 feedback layer per question.
    Course consists of 600+ questions (very labor intensive)
    The Add value 1 to variable and then exiting course doesn't add 1 to the variable.
  • Hello Don!

    Thanks so much for sharing your findings as well as your project file. It's very helpful to get this information to better understand your trigger setup. 

    I'd like to have our talented Support Engineers have a closer look at this for you! I've gone ahead and opened a support case on your behalf. You'll be hearing from them shortly via email. 

    We'll continue the conversation over in your case. Thanks so much for your patience!

    Have a great start to your week! ✨