Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

track completion by verb does not check that the object is the specified activity id #209

Closed
Getafix-hub opened this issue Feb 6, 2021 · 1 comment

Comments

@Getafix-hub
Copy link

Getafix-hub commented Feb 6, 2021

The help with Track completion by verb specifies:
Moodle will look for statements where the actor is the current user, the object is the specified activity id and the verb is the one set here. If it finds a matching statement, the activity will be marked complete.

The use case is an xAPI activity which:

In this case, multiple passed / failed statements can be generated within a single activity and the object id must be properly tested to match the desired condition.

Example:

Tincanlaunch configuration
Completion tracking: Show activity as complete when conditions are met
Activity ID: http://localhost/localcontent/HelloB
Track completion by verb: http://adlnet.gov/expapi/verbs/passed

Quiz passed statement:
verb id: http://adlnet.gov/expapi/verbs/passed
objectType: Activity
object id: http://localhost/localcontent/HelloB/quizzes/bqu2bgm3t729-kgs9lqf9hvku

Activity passed based on number of viewed slides score
verb id: http://adlnet.gov/expapi/verbs/passed
objectType: Activity
object id: http://localhost/localcontent/HelloB

@davidpesce
Copy link
Owner

Resolved via 12ded5d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants