Reports API Methods
exitAndSubmit()
Submit and terminate the assessment for the specified learners when using the live progress report.
You would want to use this to submit and 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.
Examples
reportsApp.getReport('my-live-progress-report-id').exitAndSubmit([
'user_1',
'user_2',
'user_3',
// ...
]);
Arguments
-
userArray array[string]
An array of user IDs with active assessments to be submitted and terminated. 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
exitAndDiscard()
method, which discards and terminates the assessment for the specified learners. - The
exitAndSave()
method, which saves and terminates the assessment for the specified learners.