Skip to main content

Unenrolling Users after Course is Deleted from Program

Problem

If you use a program along with business rules to enroll users in courses, once the user no longer meets the business rules, the user is automatically unenrolled from the courses in the program (assuming the "Automatically unenroll" checkbox is enabled in the course). However, if a course is simply removed from a program, the users are not unenrolled from that course. 

Solution

If you removed a course from a program and the users are still enrolled in the course, you can follow these steps:

  1. Duplicate the program in question. Keep the same business rules but ONLY select the course that you deleted (e.g. the course that you want to unenroll users from)
    IMPORTANT: Make sure the "Automatically unenroll" checkbox is enabled in this new program.
  2. Wait a few minutes for this new program to process all users. This task happens in the background and can take up to 20 minutes for very large programs (e.g. with 10,000+ users)
  3. Go back to this new program and change the business rules such that NO users match the rules. This can be accomplished for example by putting an email address with a domain that you know doesn't exist in your system.
  4. Wait a few minutes for this new program to process your change. This task happens in the background and can take up to 20 minutes for very large programs (e.g. with 10,000+ users)
  5. Go in the "Assign Users" section of the new program and confirm that there are no users. If there are still users in the program, wait longer or review your business rules to make sure they exclude all users.

Once the users are no longer in the program, they have also been removed from the course(s). It is now safe to delete the program that you created in step 1 above.


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.