Course Connection auto enrollment trigger handler/TDTM
|REDU - Admin
|AfterInsert (available in version 3.11 onwards), AfterUpdate
|Related RIO Education Settings
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.
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.