Celebrate Excellence in Education: Nominate Outstanding Educators by April 15!
Found this content helpful? Log in or sign up to leave a like!
I think I've figured out a few things (through testing) about deleting and restoring enrollments, but it'd be great if anyone could confirm this has proven true for them:
@jlubkinchavez wrote:
I think I've figured out a few things (through testing) about deleting and restoring enrollments, but it'd be great if anyone could confirm this has proven true for them:
- If a student needs to change course sections in the same course, it's important to delete the original enrollment (not conclude it) or else they will continue to receive notifications for the original section (e.g., announcements).
- There is no specific API call for undeleting an enrollment.
- If you re-enroll the same user in the same course section (use the call to create an enrollment), the new enrollment will 1. have the same enrollment id as the original enrollment and 2. restore the submissions/activity for that user. (Any insights on that last point in particular would be appreciated; I did see an assignment with grade and feedback restore, but not much time had passed and I didn't test other features like discussion boards or stats).
So from a very quick testing on my institution's test instance & on a course that is not managed by our SIS:
1) If a student is enrolled in two sections, each enrollment is a separate object and has its own enrollment ID attached to that. So you would need to conclude/delete the enrollment associated with section that you don't want.
2) There is not any way to undo deleting an enrollment. The "reactivate" endpoint is only for enrollments that were marked "deactivate"/"inactivate". Operating on any other type of enrollment will return an error message.
3) Yes, they will have the same enrollment ID no matter what you do to the old enrollment -- if you conclude or delete the enrollment, then re-enroll them into the same section, they will have the same enrollment ID as before. I suspect that either the enrollment ID or the user ID is associated with student submissions, which is why they show up once the enrollment is restored. For example, with cross-listing, when you cross-list a section into another course, you "lose" all submissions in the old course but they come back when you restore the section into the original course...so it would stand to reason that re-enrolling a student should work the same way...
Thanks @melodyc_lam for the testing/confirmation. About point 1, just clarifying that, yes, they are separate enrollments. The problem with conclude status on the prior enrollment is that students can still access the prior section as read only, and they will still receive notifications sent to sections where they have a prior enrollment if they are still active in the course (in a different section). Again, just a result of testing/experience; I don't think I've seen that documented anywhere.
So if I understand correctly, the situation you're seeing is like this:
If so, that's interesting. I think more investigation is needed! 😄
@melodyc_lam yes, exactly, that has been our experience. Typically, if a student is concluded in a course, both their section and course enrollments are concluded. But in this situation, the original section enrollment is concluded but the course enrollment is still active.
I can confirm that this behaviour that you mention, is the case, it also happens with the inactive status. We are experiencing this problem a lot because there are a lot of section changes during the academic year. We reported this to Instructure but they call it a feature. They suggest to use the deleted status to avoid this, but they cannot guarantee that there will be no data loss with this status (if reverted).
@werner_huysman1 just confirming that you mean inactive status on the section enrollment, not inactive on the course, correct?
@jlubkinchavez That is correct.
To participate in the Instructure Community, you need to sign up or log in:
Sign In