This is a lower-level API. Lower-level APIs are not recommended for most projects, and may not be available on all plans. See our page on recommended deployment patterns for more information.
Event Assess API


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.


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?