How to set the LMS status to Completed or Failed

Sep 18, 2023

Hello

I have developed a course in AS3 360 (v 3.79.30921.0). The course has a quiz feature at the end that branches out to 3 separate quizzes based on the learner's choice. Each quiz has 2 tries (1 prelim and 1 retry). They can attempt only one of these quizzes. The idea is that if they fail both the tries the LMS should mark them as Failed. We are using PeopleFluent LMS. No matter which Status I set in the Publish settings, the course is showing the participant as In Process even if they fail both the tries. I have tried "Passed/Failed" and "Complete/Failed" with the same results. The business user requires the LMS report to show "Completed" or "Failed", not "Completed" or "In Process". Is there anything I can do on Articulate to fix this? Attaching my LMS settings and Tracking settings.

This is driving me crazy at this point. Please help.

Thanks in advance.

Lakshmi V

15 Replies
Lekshmi Nair

Hi Sandeep

Thanks again for the tip. I did upload it on SCORM CLOUD and ran the course with myself as a learner. The report shows Completion status as "Incomplete" and Course Status as "Failed". Now the question is how do I set the Completion status to Complete if I have exhausted both tries.

Any suggestion would be highly appreciated. Thanks in advance!

Lekshmi Nair

Hi Sandeep

All questions have been set to "Reset to Initial State" in all the question banks. This looks to be an issue with how the results are being reported to the LMS and how LMS is reporting the results. 

I have also contacted the LMS support team to see if they can customise the report to show pass or fail rather than Complete/Fail. Shall report my findings here soon.

Thanks for your support.

Lakshmi V

Nedim Ramic

Is there any reason preventing you from using SCORM 2004 to accomplish your task? 
SCORM 1.2 offers a single value (cmi.core.lesson_status) to store course statuses (passed, completed, failed, incomplete, browsed, not attempted). SCORM 2004 is able to report both the Completed and Passed success verbs simultaneously, and separates completion and success statuses (cmi.completion_status can be set to completed, incomplete, not attempted, unknown; cmi.success_status can be set to passed, failed, unknown). 

Possible solution with SCORM 1.2:
1.  LMS Reporting Passed/Failed
2. Tracking Options: Complete course trigger
3. Place a button on both Success and Failure layers
    a) Success layer triggers in this order: Complete course as Completed/Passed when the user clicks button, and Exit course when the user clicks button
    b) Failure layer triggers in this order: Complete course as Incomplete/Failed when the user clicks button, and Exit course when the user clicks button
This will result in Incomplete completion status and Unknown success status as long as the quiz is failed, and Complete completion status, and Passed success status if the quiz is passed. The only downside of this solution is that you have to force the learner to click on Exit button on the Result slide so these values are properly recorded. You may test this with or without the Exit button to note the difference. Otherwise, I strongly recommend SCORM 2004. 

Lekshmi Nair

Thank you so much Nedim. There is no particular reason for choosing SCORM 1.2 except that I simply didn't realize that 2004 could do this. Shall definitely try your solution. I may need some more help to specifically apply your trigger suggestions. Let me try it the way I understand it first. Shall shout out, if I can't seem to get it to work.

Thanks again.

LV

Lekshmi Nair

Hi Nedim

I tried the 2004 and then 1.2 with the completion triggers set on Success and Failure layers and Close button on each triggering Complete/Pass and Incomplete/Fail.

The course status on LMS still remains "In Process", when I try the quiz and fail both times. Attaching the .story file. Please advise on what I am doing wrong. Totally at my wit's end here. :(

LV

Nedim Ramic

Hi Lakshmi,

No worries. My solution above assumed publish to SCORM 1.2 and I totally forgot that you were trying to set the course "Completed" after both tries are failed. In your file, now I see you even have variable to track the number of your attempts. I'm attaching my testing story file with variable "Attempts" initially set to 1 and adding 1 to it when the "Retry" button is clicked after the first attempt is failed. After the second attempt is failed the "Retry" button is replaced with the "Exit course" button. And this all takes place on the Failure layer. I'm also setting the "Execute JavaScript" trigger when the timeline starts on this layer (Failure) if  the number of attempts "Attempts" is greater or equal to 2. Code to execute:

SCORM2004_CallSetValue('cmi.completion_status', 'completed');
SCORM2004_CallSetValue('cmi.success_status', 'failed');

Publishing:
1. SCORM2004, 4th edition
2. LMS Reporting: Passed/Incomplete
3. Tracking Options: When the learner completes a quiz

Basically, Passed/Incomplete option would keep throwing the incomplete status as long as the quiz is not passed, with the success status being set to status unknown, then to status passed if the quiz is passed. In the code above we say "set my status to "completed" anyway but only after I fail on both attempts". If you pass the quiz on your first or second attempt the course will be completed as well and the success status passed updated by default.

Check my file and make all necessary adjustments in your project. It's not a lot. Keep in mind that this has been successfully tested in the ScormCloud. Session video recording available.