I'm trying to read from the moodle database the grades achieved by the students in a certain workshop. I think the best way (at least it seems the least complicated) is to read the 'finalgrade' field of the "mdl_workshop_submissions" table. I tried with some experimental workshops, and I discovered that this field is never written, even if the 'release grades' line is crossed. Is it an error of my workshops or is that the normal functioning? What could I do so that moodle writes the 'finalgrade' field with the values it calculates when, for example, shows the califications of all the stundets?
Thank you for your help!