Tracking Course / Curriculum Time

blankgm Community Member Posts: 18
I am attempting to track cumulative student time within a course and curriculum but cannot seem to get the answer I am looking for.  The scenario is:

Student enrolls in a course.  We want to know the total (cumulative) time the student spent within the course inclusive of multiple log-ins up to the point of successful completion but not beyond.  So, if the student fails the course - the timer continues when the student is in the course.  But if the student passes the course the time stops tracking time regardless if the student returns to the course.

Course times could be reported (by curriculum) and manually calculated to obtain the curriculum total time for metric recording.

The only time we have been able to report is the time the student spent in the course during the most recent login.  So if I spent an hour yesterday, but only 2 minutes today - it reports 2 minutes instead of 62.

We would like to print this value on the transcript upon course completion.

Im sure the answer is right there in front of us - we just aren't seeing it.



  • eharris6433
    eharris6433 Community Member Posts: 16
    @blankgm, the AICC_Time variable will record, and remember, the total amount of time that the learner has spent in the course, however I do not believe that it can be configured to stop recording the time, even after the course is marked as completed.


    Just creating a small test course here, I noticed that I can mark the course as complete on the last page, however when I update the textblock that displays the AICC_Time variable value, it continues to increase.  This may be an issue if the learner would ever get to the last page of the course and then not close it out.
  • timk
    timk Community Member Posts: 1,239 ✭ Legend ✭
    I don't think it's possible to stop AICC_Time itself, but it is possible to transfer its value to another variable and stop that. In a short test I created a variable called "timetilcompleted" to save the time and another variable "completion" (initial value: 0) to save the completion status. Both are retained between sessions.

    On: Timed interval
    Interval: 0.1
    Action: Modify variable
    Target: timetilcompleted
    Type: Set equal to
    Value: VAR(AICC_Time)

    Condition: Only if "completion" is Not Equal To "1". To modify "completion":

    On: Timed interval
    Interval: 0.1
    Action: Modify variable
    Target: completion
    Type: Set equal to
    Value: 1

    Condition: Only if "AICC_Lesson_Status" is Equal To "completed".

  • blankgm
    blankgm Community Member Posts: 18
    Thanks for the replies - I will see what we can come up with.

    Probably a combination of the course completion flag with an action to transfer the curreent AICC time to a custom variable that we will print on the transcripts.