Custom Settings: Enrollment Delete All Attendance

Enrollment Delete All Attendance

This setting controls the Course Enrollment Delete Attendance Flow delivered with RollCall that will automatically delete all child Attendance records when the parent Course Enrollment is deleted. This is necessary in RollCall Standard because the Attendance records are a simple lookup (not master/detail) to Course Enrollment and will not otherwise automatically delete.

Impacts:

Behavior when Course Enrollment records are deleted

Default Value:

On 

Default Behavior: 

If you are using the Flows delivered with RollCall, upon deletion of a Course Enrollment record all child Attendance records will also be deleted.

Behavior when setting is changed

When the Value of this setting is Off, empty or anything other than On, the Course Enrollment will get deleted and leave orphaned Attendance records (these will have a Contact and a Session, but no Course Enrollment). You will need to reparent or manually delete.

Example:

You may prefer to err on the side of caution when deleting records and not automatically delete the child Attendance records without administrator oversight. Note that typically this setting is left On.

To use this setting, you would:

Update the “Value” field for this custom metadata record with: Off