PEP_AutoEnrollment_TDTM
PE Pathway auto enrollment trigger handler/TDTM
Table of Contents
Custom Permission | REDU - Admin |
Event | AfterUpdate |
Object |
PE Pathway |
Related RIO Education Settings | Auto Enroll if Failed |
Description
Whenever an existing PE Pathway record's 'All Courses Completed?' or 'All Courses Passed?' fields are updated, this class checks whether the 'All Courses Completed?' field is true, the Enrollment Method is 'Automatic by term/course', My Term is not null and either All Courses Passed? is true or the custom setting 'Auto Enroll if Failed' is enabled.
If these conditions are met, this class will find the PE Pathway with the next My Term number in the same Enrollment and will check its Automatically Enroll in Courses field if it is not already checked and if the Deferred field is not checked.