If someone completes a task when they are not enrolled in a course, they are automatically enrolled in the course.