I send to Moodle information like activiyy status (completed, passed, etc) , % advance, time session, etc. All of this work fine.
When I do the activity always count 1 attempt. I don't know why Moodle doesn't count attempts. In the setup of activity I have configured this activity how you can see in the attached file.
I was trying to setup "Force new attempt" to "Yes" but it doesn't work neither.
If anyone can help me I would be apreciate
My Moodle version is 3.19
You are right. SCORM 2004 is partially not supported. I use some functions SCORM 2004 APi (GetValue, SetValue, etc) and they work fine like in Moodle.
I have used data model SCORM 2004 3Ed like cmi.exit, cmi.completion_status, cmi.success_status, cmi.progress_measure, etc and they work fine
Indeed, I have tested this SCORM 1.2 package (https://scorm.com/scorm-explained/technical-scorm/golf-examples/ - Basic Run-Time Calls) and it doesn't count the attempts neither.
I only get count attempts (with SCORM 1.2) when I setup "Force new attempt" to "Yes" and it works in a confused way. Not always that I start the activity is counted a new attempt.
I don't understand well how does it work the concept "attempts" in Moodle and why it doesn't count when I start activity, I leave the activity or fail and start again
The concept of "attempts" is confusing when it comes to SCORM. The SCORM spec defines that you must be able to re-enter an attempt in different ways so we provide a number of settings in Moodle to control this.
This FAQ item probably covers what you are looking for:
SCORM 2004 attempts are also a bit messy, and it's likely there are bugs with the attempt handling of SCORM 2004 data. If you have a choice of using SCORM 1.2 or 2004 you should always choose 1.2 when working with Moodle (even though some SCORM 2004 packages may work ok.)
Thanks a lot!! I already understood "attemps" concept with SCORM. Now it works fine!!