Forum Discussion
Saving variable values before exiting a page
Hello Brian!
I'm happy to help! The value of a variable depends on the triggers that include the variable. If the value of the variable isn't saving, then it might need a quick adjustment to a trigger.
Lastly, is the When Revisiting set to "Reset to Initial State," "Resume to Saved State," or "Automatically Decide?"
If you can share your project with us, that would be helpful. You can attach the .story file to this public discussion or upload it privately in a support case.
- BrianRoemer5 years agoCommunity Member
Thanks so much for reaching out Lauren! Let me clarify the issue a bit
more. The triggers, variables, and conditions all work as I expect. The
overall visual behavior of the page is functioning as intended.The issue arises if a learner exits my course *from* my interactive page
*without* turning the page. In that case, upon relaunching the course, the
page loads as if it's the first time they've visited. It's like the
variables I set during their first visit aren't available for my page to
use.What I'm discovering through other forum posts is that Storyline won't save
the variables values I've set on that interactive page until the learner
has moved off of that page. Apparently, the act of turning the page is
what adds those variables values to the resume data sent to the LMS.SO, this may all be a "working as design" situation. Through my testing on
SCORM Cloud, if I complete my interactive page (3 buttons displaying 3
content layers), click Next, and then Previous to return to my interactive
page, all my buttons appear as completed because I have access to those
variables I set previously. The act of clicking the next button seems to
save those variables values to the resume data set.My ultimate questions are:
1. Is what I'm experiencing the intended design of Storyline?
2. If so, is there a way to "force" a push of variables on a page, before
they click Next?I'm happy to share one of my modules privately with ELH.
BrianR
Related Content
- 12 months ago
- 12 months ago
- 12 months ago
- 12 months ago
- 12 months ago