Intermittent issue with the activity completion when using separate groups. The feedback should be marked as complete as soon as it's submitted. However it's not marking the activity as complete and this is causing issues to other activities, such as certificates, that relies on the completion of this one.
While the activity is not completed, try to access it to answer again in order to trigger the completion would result in a "You've already answered" error message.
The issue seems to be intermittent, but it is only experienced when using separate groups. Running the cron doesn't make any difference.
STEPS TO REPLICATE
Set up separate groups in the course, enroll users in the course as students belonging to one of these groups
Create a feedback making sure the Activity Completion is set to View as completed if the feedback is submitted
Add questions to the feedback and have one of the students submit it. The issue seems to be intermittent but I'm unsure of what else could trigger it. The scheduled task seem to run correctly
Activity not marked as completed even if the condition is fulfilled
The activity should be immediately marked as completed
MoodleRooms test site
ADDITIONAL INVESTIGATION NOTES