Custom activity completion criteria?

Custom activity completion criteria?

by Mark van Hoek -
Number of replies: 0
Picture of Core developers Picture of Plugin developers

I'm writing a block that you add to a quiz, forum, lesson, etc which adds video-based proctoring.  Ideally I'd have the proctoring pass/fail result feed back into something like the activity's pass/fail or activity completion status.  Basically some way to let the user and instructor know via the Moodle UI.

I seems to me activity completion is the best place, but how to do so without custom-coding it into every single activity or customizing core?  There are some global criteria like "Require view", "Require grade", "Require passing grade" but these criteria seem not to be pluggable.

Suggestions?

Average of ratings: -