HOME ➔ SUPPORT ➔ Community ➔ General CourseLab issues ... how to retrieve score, completion status, and success in actions?
how to retrieve score, completion status, and success in actions?
  View type:
Anybody knows how to retrieve the score, completion status, and/or success in actions? I figured out how to set them, but can't figure out how to retrieve them. I imagine there's an object ($) for each one (or properties on another object), but can't find any documentation showing the list of all objects (assuming there's more than what's in the user guide) along with their properties.
Thanks,
Razvan:-)
 
Hi, Razvan,

Would actions
IF COMPLETION
IF SUCCESS
IF SCORE
be suitable?
 
 
No. I know how to check IF conditions. What I want is to retrieve, as an example, the SCORE to make some calculations with it. Tried #SCORE, but that didn't seem to work.
Thanks.
 
 
 
Razvan on the COMPLETION and SUCCESS cariables you may be missing Slav's point, they only have limited options for their status so in outline
->If success = (unknown/started/failed/pass)
->Then
->Do an action
Or the same for completion; it's not like you have many options to play with in these two parameters.
Score you can always keep a secondary variable of your own to use as a trigger in actions.
For the objects that are used in the SCORM API refer to the references on SCORM at ADL where the standard was produced and documented in more detail than you'll probably want to go into.
 
 
 
 
I got Slav's point and, I agree, it's very easy to use the IFs for statuses, since they have limited number of values. The Score is quite different, since there can be so many values. I was trying to avoid going to the API (plus, not sure how I would use the API from within CourseLab). Back to your suggestion, how do you copy the value of the score to a variable (I'm assuming the score is set, for example, by a test and not through a SET SCORE action)?
Thanks to both of you (Slav, Nickj).
Razvan :-)
Subject:
Message options
No additional options