test.finished.discard - Events - Assess API

Assess API Events

test:finished:discard

In the context of a supervised assessment, this event fires when a proctor has exited and discarded the assessment. The learner will then be redirected to a ondiscard_redirect_url, if provided in the configuration options.

You would want to be notified about this event firing so that you can display an exit message to the learner before the redirect occurs, for example.

Examples

itemsApp.on('test:finished:discard', function () {
    console.log('This code executes when the proctor has exited and discarded the assessment.');
});

Related articles

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.