Notify student when essay question is graded

Notify student when essay question is graded

Klaus Rosmanitz -
回帖数:13

Hello forum !

I was excited about the fact that  Moodle 4.0 now has a feature that notifies students when an essay question gets manually graded by the teacher.

So I tried it out and set up the permissions of the quiz (with an essay question) accordingly:

  • Receive notification of your students' quiz submissions – set to Teacher
  • Receive notification when your attempt has been graded – set to Student

When the student submits the quiz I get a system message that there is a question to grade (this  part works) but after grading it manually the student doesn't get anything.

Quiz notification in the messaging preferences are also set and the Quiz plugin setting "Attempt graded notification delay" is set to one hour ? Cron is running.

What am I missing ??

Greetings, Klaus


回复Klaus Rosmanitz

Re: Notify student when essay question is graded

Tim Hunt -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像
It sounds like things are set up correctly.

Step one of trying to work out what is going wrong is probably to go to Admin -> Server -> Tasks, and find the logs for the \mod_quiz\task\quiz_notify_attempt_manual_grading_completed task, to see what it is doing.

This feature was implemented in MDL-52456, and the testing instructions there show what was verified to be working before the release.

One thing I have thought of: the notification is only sent after all essay questions in the quiz attempt have been graded. Does that explain what you are seeing?
回复Tim Hunt

Re: Notify student when essay question is graded

Klaus Rosmanitz -

Each quiz has only one essay question , so that shouldn't be the issue.

Here is what I got from the logs :


 




and this is what the task schedule says :



回复Klaus Rosmanitz

Re: Notify student when essay question is graded

AL Rachels -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像
If it is a quiz with only one essay question, have you thought about trying to use the Diary plugin, instead? It is great for doing essays and has some built in automatic grading capability. You can try it out as a teacher or student at http://www.drachels.com/moodle311/
The login details are on the login page.
回复AL Rachels

Re: Notify student when essay question is graded

Klaus Rosmanitz -
I need to use the essay question because I set up an answer template ( for example a table), where students write their answers (phrases, sentences) into certain areas.
回复Klaus Rosmanitz

Re: Notify student when essay question is graded

AL Rachels -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像
A template could be provided in various ways in the activity Description. The students would then need to copy and paste the template into their essay, then fill it in. Another way would be to build your template as a Generico filter that they could insert into their essay. This would allow innovative options such as a Generico tabitem template. You can try it out on the site I listed previously.
回复Klaus Rosmanitz

Re: Notify student when essay question is graded

Tim Hunt -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像
Which run of the task were those logs from? The one with 6 writes might have sent some emails.

Have you verified that sending emails from your Moodle site works in other cases? E.g. forum subscriptions. Basically, it would be useful to work out of this was an issue with your Moodle site sending emails, or this quiz feature triggering the right emails.
回复Tim Hunt

Re: Notify student when essay question is graded

Klaus Rosmanitz -

There were no emails sent from any of the tasks.

I installed the eMail Test plugin to see if that was the problem, but there's no issue with that. 

Is this new feature supposed to send out emails or system messages or both ??  

回复Klaus Rosmanitz

Re: Notify student when essay question is graded

Tim Hunt -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像
The messages are sent using Moodle's standard message_send() function, like almost everything else in Moodle that sends emails to users.
回复Tim Hunt

Re: Notify student when essay question is graded

Jeff Lewis -
Hi Tim,

Notifications aren't going through for me as well. Permissions appear correct. Email test worked. However, no Submission Confirmations are being received by the Student either, though this worked consistently in 3.11.  Submission Notifications ARE being received by the Teacher & Site Admin, as configured.

Configuration screenshots are from Student.

Thanks for all you do... you're everywhere!! smile

Receive Grader submission notifications - Allowed
Receive email Notifications - Allowed
Notification that your Attempt has been graded - Email & Web
Cron - Send Quiz Attempt Graded Notifications - Every 5 minutes
Cron - Log after Newly Graded Quiz
Cron - Log View after Newly Graded Quiz
No Student Notifications
No Student Notifications

But Lots of Notifications to System Admin Re: the Same Student's Activity
Lots of System Admin Notifications regarding Same Student

Thanks again!
回复Tim Hunt

Re: Notify student when essay question is graded

Jeff Thorsen -

I like this feature. This is very handy when you see the evaluation process in action.

回复Klaus Rosmanitz

Re: Notify student when essay question is graded

Justin Hunt -
Particularly helpful Moodlers的头像 Plugin developers的头像
I actually made a video of setting up manual grading notifications the other day. Perhaps it helps :
回复Justin Hunt

Re: Notify student when essay question is graded

Jeff Lewis -
Hi Justin, Thanks for the video, but we've set this up properly and it's still not working. I actually changed the delay to zero, which is what we prefer, and tested it many times. In case this is an issue, I've now reset it to 1 second and will post if this makes a difference.

Also, your video doesn't properly explain where the Site admin setting for "attempt notification delay", as you call it, is located.

Attempt graded notification delay setting
 
For those who aren't familiar, the above is located under:
"Site Administration > Plugins > Activity modules > Quiz > General Settings > Attempt graded notification delay."
And as we have done, the default delay can be changed for testing, if nothing else, so you don't have to wait five hours to see if it works.

Also, your video lists a second setting for "Next running of 'Send quiz attempt graded notifications' task", but you don't explain clearly where to find it.  This is located under:
"Site Administration > Scheduled Tasks > Send quiz attempt graded notifications"
Once there, click on the gear icon to customize your schedule, which we set to "*/5 minutes" for testing, as reflected in my earlier screenshot.

Perhaps redo your video so it doesn't frustrate people with incomplete information...?
回复Jeff Lewis

Re: Notify student when essay question is graded

Justin Hunt -
Particularly helpful Moodlers的头像 Plugin developers的头像
Video needs a bit more work eh?  I wont redo it.  It was really for a client. Next time I will take a bit more time on it.

One more thing I noticed while looking through the code:

            if ($options->manualcomment == question_display_options::HIDDEN) {
                // User cannot currently see the feedback, so don't message them.
                // However, this may change in future, so leave them on the list.
                continue;
            }

So if in your quiz settings you have chosen to not display manual comments, the message won't get sent. That is something to check.
Since we leave no room for doubt around here, here is a screenshot of that setting in your quiz.