Help with xAPI statement. My variable isn't reporting?

Dec 10, 2019

So I got TalentLMS sending xAPI statements to my Learning Locker LRS. I have a Articulate Story I uploaded using xAPI Tin Can (Story file is  attached) which has a variable called Score that adds or subtracts based on the slide it ends up on when the lesson is completed by the learner.

I also have a completed/passed trigger on two of the end slides and that Score variable to gauge whether the learner landed on a good, ok or bad conclusion (5,0 and -5 is what I used). On the bad slide the user can exit or restart the course.

I'm sure I'm not understanding this correctly but i was expecting to find something in the statement code (see below) called Score indicating whether it was a 5, 0 or -5. My original understanding with xAPI is that I could make all these custom variables, report the info to an LRS and then build out reports.

For instance, in this scenario Michelle takes the lesson, get's a Bad slide which should give her a score of -5. I would want to run a report that shows she has -5 score or the summation of all her scores from all her lessons.

Can someone help me understand what I'm doing wrong or tell me I'm on the wrong path?

Here's an example of a statement (some details changed for security).

{
"stored": "2019-12-09T23:24:13.448Z",
"active": true,
"completedForwardingQueue": [
"5debddca65f13505a5ad7d95"
],
"failedForwardingLog": [],
"client": "5debeb4c3505a5ad97",
"lrs_id": "5debeb4c65f05a5add96",
"completedQueues": [
"STATEMENT_FORWARDING_QUEUE",
"STATEMENT_PERSON_QUEUE",
"STATEMENT_QUERYBUILDERCACHE_QUEUE"
],
"activities": [
"http://664TGMDHxYM_course_id/5ojGEWMsHze"
],
"hash": "6f1230b1bd01f9b149a992a7edb6cc",
"agents": [
"mailto:michelle@email.com"
],
"statement": {
"authority": {
"objectType": "Agent",
"name": "New Client",
"mbox": "mailto:hello@learninglocker.net"
},
"stored": "2019-12-09T23:24:13.448Z",
"context": {
"contextActivities": {
"parent": [
{
"id": "http://664TGMDHxYM_course_id",
"objectType": "Activity"
}
],
"grouping": [
{
"id": "http://664TGMDHxYM_course_id",
"objectType": "Activity"
}
]
}
},
"actor": {
"objectType": "Agent",
"mbox": "mailto:michelle@email.com",
"name": "Michelle"
},
"timestamp": "2019-12-09T23:24:13.511Z",
"version": "1.0.0",
"id": "13a48225-2720-4801-bd55-a318fd7b0d08",
"verb": {
"id": "http://adlnet.gov/expapi/verbs/experienced",
"display": {
"en-US": "experienced"
}
},
"object": {
"id": "http://664TDHxYM_course_id/5ojMsHze",
"objectType": "Activity",
"definition": {
"type": "http://adlnet.gov/expapi/activities/module",
"name": {
"und": "Bad"
},
"description": {
"und": "Bad"
}
}
}
},
"hasGeneratedId": false,
"deadForwardingQueue": [],
"voided": false,
"verbs": [
"http://adlnet.gov/expapi/verbs/experienced"
],
"personaIdentifier": "5debf017da540d89b1f4",
"processingQueues": [],
"person": {
"_id": "5debf01773c625db5570",
"display": "Michelle"
},
"__v": 1,
"timestamp": "2019-12-09T23:24:13.511Z",
"relatedActivities": [
"http://664TGMDHxYM_course_id/5ojGEWMsHze",
"http://664TGMDHxYM_course_id"
],
"relatedAgents": [
"mailto:michelle@email.com",
"mailto:hello@learninglocker.net"
],
"organisation": "5debdc2a65f13505d7d8d",
"_id": "5deed79deddb4e59b42",
"registrations": [],
"pendingForwardingQueue": []
}
3 Replies
Lauren Connelly

Hi Michael!

Seeing your file was very helpful! Thanks for being one step ahead!

You'll need to make this course into a quiz with a results slide in order to track the progress of the learners. This is the quiz information Storyline sends to an LMS.

In this case, you'll want to add quiz questions and then end the course with a results slide. When publishing the course, make sure to set the Tracking to the results slide.

Let me know if you have any questions!

This discussion is closed. You can start a new discussion or contact Articulate Support.