SCEN_AutoEnrollment_TDTM
Course Connection auto enrollment trigger handler/TDTM
Custom Permission | REDU - Admin |
Event | AfterInsert (available in version 3.11 onwards), AfterUpdate |
Object | Course Connection |
Related RIO Education Settings | None |
Description
When a Course Connection is updated to a state where its 'Automatically Enrolled' field is checked, its Course Offering field is not null, and its 'Enrollment Status' field is set to Enrolled (i.e. Course Connection has been auto enrolled), this class will automatically create a Session Connection for each Course Connection and each Session needed for the Course Offering.
It will link the Session Connection to the Course Connection and Session records, and set the 'Enrollment Status' field to 'Enrolled' and the Faculty field to false as defaults.
Use case
This class enables students to be automatically enrolled to Sessions prepared by the institution, the moment they are enrolled to a Course.
For more details, see here.