Public Method Reports API

exitAndDiscard()

Discards and terminates the assessment for the specified learners when using the live progress report.

You would want to use this to end the assessment in a live proctoring scenario.

This report is primarily for monitoring learner progress during proctored assessments. It is updated based on live interactions of learners with their assessments in real time.

Important Any learner responses will not be saved when discarding the assessment.

Examples

reportsApp.getReport('my-live-progress-report-id').exitAndDiscard([
    'user_1',
    'user_2',
    'user_3',
    // ...
]);

Arguments

  • userArray array[string]

    An array of user IDs with active assessments to be terminated and discarded. This is the same user_id used when initializing the Items API in the assessment.

Return value

None (undefined).

Related articles

Was this article helpful?