Reports API Methods
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
- Provide Live Progress Tracking & Control Demo
- The
user_id
Items API initialization option, which allows you to specify the user ID. - Live progress - Understand student needs in real time
- The
exitAndSave()
method, which saves and terminates the assessment for the specified learners. - The
exitAndSubmit()
method, which submits and terminates the assessment for the specified learners.