MJ_Developer
MJ_Developer

Reputation: 546

Mapping from Run-Time Environment Data Model to Tracking Model

Suppose that the Current Activity is Activity 1. Activity 1 has a primary objective. Activity 1 sets cmi.objectives.0.success_status = passed and it never sets cmi.success_status. In this case, after mapping data from Run-Time Environment data model to Tracking Model the ObjectiveProgressStatus and ObjectiveSatisfiedStatus of the primary objective of the Activity 1 are set to False. In fact, after mapping, cmi.success_status is overwritten on cmi.objectives.0.success_status. Is this correct?

Upvotes: 1

Views: 223

Answers (1)

FadelMS
FadelMS

Reputation: 2037

No, not correct. The primary objective cannot be directly accessed at runtime. To set its tracking data at runtime, you have to use "cmi.success_status" or "cmi.score.scaled". One more thing, tracking data of local obectives other than the primary objective are handled by the SCO only and the role of the LMS is just to keep track of their status without taking any action based on their tracking data. The primary objective is the core of the activity and it holds its tracking data.

Upvotes: 1

Related Questions