Why is Session Connection deleted when student withdraws from a Course?
How to unenroll student without deleting session connection?
Table of Contents
Overview
When a student unenrolls from a Course, or when an admin user updates the Course Connection's 'Enrollment Status' field to any of the 'Withdrawn' options, the Session Connection is deleted automatically.
Resolution
If the student has no attendance record, the Session Connection is automatically deleted upon withdrawing from a Course Connection.
However, if the admin wishes to keep the Session Connection record, this can be done by disabling the relevant trigger PECS_UnenrolmentProcess_TDTM.
As of v3.14, a new custom setting "Withdrawn CCs delete SCs" has been introduced.
If deactivated (FALSE), then, no Session Connection will be deleted, regardless of any other factors.
For more details, see: