Storyline - Moodle SetStatus
Aug 26, 2016
My 2 questions related to Storyline 2 default quiz (MCQ) are:
1.) Can i restrict Storyline from sending score (cmi.score.raw) for each interaction / quiz on clicking the Submit button to LMS ? It always send a score to LMS as soon as the user has clicked the Submit button. I want it to send only a final score at the end in result slide. I can't use other than default quiz and result slide because i want each interaction to be stored in Moodle LMS which i think is not possible with a custom made quiz using JS.
2.) Can i manually set status to Incomplete until a user has answered all questions and reached the result slide ? If anyone exits the course only answer 1 or 2 question, not all, it will be marked as Incomplete in LMS. I have tried with a JS method, but it doesn't seems to work in a default AS2 quiz with a result slide.
Now regarding the issue :
I am developing a simple course in Articulate Storyline 2 (version 2.8) using Storyline's default / inbuilt quizzes. I am only using multiple choice.
I am publishing it as a SCORM 1.2 package with LMS Reporting set to : Passed / Incomplete.
The scorm package will be uploaded to Moodle 3.0.2
I have enabled debugging in Storyline as well as in Moodle to see the Activity Log.
If a user exit the course without answering any question, it marked as Incomplete in Moodle which is fine.
But the issue which i am facing is that whenever a user answers 1 question and exit the course or due to some reason can't complete it, Storyline sends a raw, min and max score for every interaction / quiz submitted. And the score gets stored in Moodle Report. And the status is set as Failed and can't complete the quiz since it starts in Review Mode next time onwards. Only option left is to start a new attempt in Moodle.
It should only pass a final score in the result slide when a user has completed all questions.
Moreover, since Storyline sends a raw score for every quiz individually, if for some reason a user can't complete the course, it's marked as Failed (as the user can't complete the whole quiz and have not reached the passing grade) and the user can't re-attempt the same quiz. A user has to start a new attempt in Moodle. Since an attempt is considered as Complete if the status is either Passed, Failed or Completed set by the SCORM package. It can be only re-attempted (in Moodle) if the status has been set as Incomplete by the package / course in the previous attempt.
var lmsAPI = parent;
lmsAPI.SetScore(0, 100, 0);
But it doesn't work. It can't set the status to Incomplete at end of each quiz submitted. I have set the trigger to execute the above JS when the user clicks the Submit button after the interaction has been submitted. It only passes a raw score score of 0 for every quiz but the status is set as Failed.
Any help will be highly appreciated.
PFA Storyline 2 file and SCORM 1.2 package.
Though it's a simple quiz, i can't think of any workaround.