Is there a way to keep the status marked as completed ?
Oct 26, 2017
Hello,
I have a module developed with Storyline 3 containing screens with texts and a quiz.
It's a scorm1.2 and the completion is done with 80% of the screens seen. I've used the LMS Moodle.
I added this JS function to the Quiz result screen to send the score to LMS :
/*Get player to reference*/
var player = GetPlayer();
function findLMSAPI(win) {
// look in this window
if (win.hasOwnProperty("GetStudentID")) return win;
// all done if no parent
else if (win.parent == win) return null;
// climb up to parent window & look there
else return findLMSAPI(win.parent);
}
var lmsAPI = findLMSAPI(this);
/*set score; the first number is the score*/
lmsAPI.SetScore(player.GetVar("percent"), 100, 0);
/*set status; possible values: "completed","incomplete", "failed", "passed"*/
if (player.GetVar("percent")>= player.GetVar("passingpercentage"))
{
SetStatus("passed");
}
else
{
SetStatus("failed");
}
I've modified in the file Configuration.JS the following parameters (So that the learner can resume the module to improve his score) :
var SCORE_CAN_ONLY_IMPROVE = true;
var REVIEW_MODE_IS_READ_ONLY = false;
Everything works fine : when the learner acheives 80% of the screens, the status is marked as completed and the score is recorded in LMS.
However, my problem is that when the learner starts a second time the module from the beginning (choose to resume from the beginning), the status is marked as incomplete.
Is there a way to keep the status marked as completed if the learner has completed the module ?
Thank you
1 Reply
Hello. Did you find a solution for this problem of the completion status resetting when the user restarts a new attempt?
This discussion is closed. You can start a new discussion or contact Articulate Support.