Forum Discussion
Storyline, xAPI, and time outs!
I need to generate a Storyline popup based on a time-out when someone leaves their computer without completing a module. We are capturing quite a number of xAPI statements, and we find that if a learner times-out, we don’t get the xAPI statements up to that point for a complete section.
I asked Articulate Support, knowing it is a long shot, and their expected reply:
Course timeout is typically managed by the LMS. Storyline 360 sends a keep-alive message every one minute to help the LMS recover from a learner's session that is suspended for any reason.
However, we do not measure inactivity, nor do we have a way to detect it within the built-in functions in Storyline. If your LMS does not offer an inactivity timeout notification, I believe your option in Storyline is to use JavaScript.
So, I'm looking for a solution that may someone in our community has developed. Any recommendations appreciated!
1 Reply
- SamHillSuper Hero
Hi BarbaraJacobs-1 see the attached file, specifically the Master Slide where I have added JavaScript which will trigger a timeout layer after a defined amount of time has elapsed. You will need to define two variables in your SL file:
userMaxMinutes - number - Default value: a number representing the total number of minutes that should elapse before the Timeout layer is displayed.
userTimeout - True/False - Default value: False
In the example I have provided, the variable userTimeout changing to True triggers the Timeout layer to display, but you can configure this to do what you want.