Exit button and LMS

Sep 24, 2014

Hello all,

I have a problem with the Exit Course trigger. Here is my scenario:

I have a storyline file with some chapters (scenes) and 20 question slides (no question pool). At the end of the course the user has to answer 10 random questions (selected by javascript). If the user has answered 7 questions correct he has to repeat the whole course. If he has answered 8 or 9 questions correct, he will be sent back to the chapter of the question. Has he answered all questions correct, he has passed the course.

I have a slide with some layers for <= 70%, 80% or 90% and 100% correct answers. The percentage is calculated with some javascript code at the base layer and saved in a storyline variable. Depending on this variable the corresponding layer is shown. If the layer with 100% is shown a javascript trigger is executed which sends the completed message to the LMS (via lmsAPI). If I look at the LMS (moodle) the correct state is shown.So everything works fine until here.

But there is an issue with the exit button on the 100% layer. This button has an "exit course" trigger. If the user clicks this button, storyline sends an additional message to the LMS with the state "incomplete". Checking the state in the LMS shows "incomplete".

If the user closes the course with the close button of the window (the X on the top right side in windows), no additional message is sent to the LMS. I publish for LMS and set reporting to number of slides 50 from 50. The problem is browser independent.

How can I prevent the exit course trigger to send that additional message? Or is there a way to make it send "completed"?

Thanks for your help.


3 Replies
Ashley Terwilliger-Pollard

Hi Thomas,

As the article states, the exit course trigger has some known issues based on browser security and how LMSs manage the feature. The fix mentioned at the bottom of that article is the only fix that I'm aware of for the LMS behavior, and it's dependent on the LMS. If it's causing issues with the course completion, you may want to remove the trigger and allow users to close the course using the browser close button.

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