Bulk Assignment
The Bulk Assignment feature lets you assign multiple exams to multiple classes in a single operation. This is ideal for term-end exams, standardized assessments, or any scenario where several exams need to reach many classes simultaneously. Bulk assignments use the /exams/:id/bulk-assign endpoint.
Bulk Assignment Workflow
1
Navigate to Bulk Assign
Go to Exams → Bulk Assign from the sidebar or the action menu on the exam listing page.
2
Select Exams
Choose one or more published exams from the list. Only exams in "published" status are available for bulk assignment. Draft or archived exams are filtered out.
3
Select Classes
Pick the classes that should receive the selected exams. The class list shows class name, code, and branch for easy identification.
4
Review the Preview
A preview table shows every Exam × Class combination with the estimated student count. Review this carefully before confirming.
5
Confirm Bulk Assignment
Click "Assign All" to process the bulk operation. The system reports success and failure counts for each assignment.
Selection Rules
The bulk assignment interface enforces several rules:
- Published exams only — Only exams with
publishedstatus appear in the selection list. Publish draft exams before using bulk assign. - Duplicate prevention — If an exam is already assigned to a class, the combination is skipped automatically. The preview table indicates existing assignments.
- Branch filtering — If an exam is scoped to a specific branch, only classes from that branch are available. Organization-wide exams can be assigned to classes from any branch.
Preview Table
Before confirming, the preview table displays:
- Exam Name — The exam being assigned
- Class Name — The target class
- Total Students — Estimated number of students who will receive access (based on current enrollment)
- Status — Whether this is a new assignment or already exists
Results & Error Handling
After processing, the system displays a summary with:
- Success count — Number of assignments created successfully
- Skipped count — Assignments that already existed
- Failed count — Assignments that failed (with error reasons)