Self re-enrollment after time based un-enroll

Self re-enrollment after time based un-enroll

by Aaron Cauchi -
Number of replies: 1

Scenario: we have a course that students need to self enrol to opt in. We want that they complete each part of the course over a period of weeks. All this was done and works perfectly. We also want that if after the stipulated time course is not complete, the student is un-enrolled. This worked when student exceeded stipulated time. 

The issue is that the student could not re-enrol again. To do so there was the need for course administrator to unblock  the enrollment time and in doing so once student enrolled again, it seems he could stay in the course without being un-enrolled again. 


Is it possible to have students

1. Self enroll into a course

2. Have a time based course, if exceeding the setup time, student is un-enrolled (all data has to be erased after un-enrollment of any activities done

3. Student can start again from point 1


This is to avoid having redundant students with "stale" course participation without supervisor having to check who has stopped in completing the course or not. This way student knows in advance that he has X amount of days to complete course otherwise has to start again from scratch (without the need of any supervisor monitoring or intervening.)

Average of ratings: -
In reply to Aaron Cauchi

Re: Self re-enrollment after time based un-enroll

by Sara Arjona Téllez -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Aaron!

Which value has in your site the self-enrolment setting "Enrolment expiry action"? If you change the default one to "Unenrol user from course", you should get this behaviour, although it will affect all the courses. More information about this: https://docs.moodle.org/en/Self_enrolment#Shared_settings_for_all_courses

Hope this helps!

Sara