Flat File Enrolment Query

Flat File Enrolment Query

by Colin Napier -
Number of replies: 3

We are using flat file enrolment currently to sync with our Student Management system. 

I have both External unenrol action and Enrolment expiration action set to Unenrol User from Course but it doesn't appear to do anything.


When a user moves from one class to another, the file doesnt not contain a DEL record for the course they have left, they just no longer show up as an ADD record. The comments below those two options seem to indicate that just by vanishing from the enrolment file should be enough to trigger unenrollment?


Any pointers would be greatly appreciated


Thanks

Colin

Average of ratings: -
In reply to Colin Napier

Re: Flat File Enrolment Query

by Colin Napier -

Can anyone shed any light on this? Am i misinterpreting the description of how flat file enrolment should deal with a user no longer contained in the file?

In reply to Colin Napier

Re: Flat File Enrolment Query

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Can you share an example of your csv file?

In reply to Emma Richardson

Re: Flat File Enrolment Query

by Colin Napier -

Numbers changed for privacy reasons but this is a snippet of the file. If  student T041664907016 for example was to move from the 10-1/PH class into the 10-2/BI class the file would like this before 

"add","student","R041080706056","10-1/Ph"

"add","student","D041661507012","10-1/Ph"

"add","student","T041664907016","10-1/Ph"

"add","student","N041051206009","10-2/Bi"


And this after

"add","student","R041080706056","10-1/Ph"

"add","student","D041661507012","10-1/Ph"

"add","student","T041664907016","10-2/Bi"

"add","student","N041051206009","10-2/Bi"


The output of the SIS system will not show the previous class so we cannot generate a "del" record for the old class. But my understanding is that if a student add record vanishes from the file then they should be removed from the course automatically. This is not happening. Instead they get enrolled in the 10-2/Bi course but also remain enrolled in the 10-1/Ph course


I hope that sheds a little more light on the situation.


Thanks!