Auto enrollment to Sessions
If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.
This article showcases how students can be automatically enrolled to Sessions.
An education institution wants its students to be automatically enrolled to the related Sessions (classes) of a Course that they have enrolled to. The student will not need to choose which Sessions, instead, they will be enrolled to the required Sessions prepared by the institution.
When a student enrolls to a Course via the enrollment wizard, this creates a Course Connection record.
The admin will then approve the enrollment by updating the Enrollment Status field to 'Enrolled', with the 'Automatically Enrolled' checkbox checked as well.
This will automatically enroll the student to the related Session Connections.
Alternatively, instead of having the additional process of an admin updating the Course Connection's Enrollment Status to 'Enrolled', an education institution can also make the auto enrollment to instantly run the moment a Course Connection record is created.
In other words, once a student enrolls to a Course, this creates a Course Connection record with the Enrollment Status already set as 'Enrolled'. This will automatically trigger the Auto Enrollment to enroll the student to the related Session Connections.
To enable this, the SECN_AutoEnrollment_TDTM trigger will need to allow auto enrolling to run on AfterInsert (i.e. Course Connection record is created with the 'Enrolled' status right from the start), in addition to the other alternative of AfterUpdate (i.e. admin updating the status to 'Enrolled').
The trigger also needs to be able to run the Student Permission Set, since the student will be the one creating the Course Connection record with 'Enrolled Status'.