Course recompletion

General plugins (Local) ::: local_recompletion
Maintained by Dan Marsden, Catalyst IT
This plugin adds course level settings for recompletion - clearing all course and activity completion for a user based on the duration set notifying the student they need to return to the course and recomplete it.
Latest release:
1154 sites
94 fans
Current versions available: 6

This plugin adds course level settings for recompletion - clearing all course and activity completion for a user based on the duration set notifying the student they need to return to the course and recomplete it.

This plugin could be used to facilitate annual re-certification.

This plugin deletes existing course completion and activity completion data based on the schedule set by the teacher including the ability to delete Quiz and SCORM attempts within the course. You can also choose to retain the quiz and SCORM attempts within archive tables within the recompletion plugin. Limited reporting functionality on the archive tables is avaialble using custom report builder sources. (see Reportbuilder docs for more info.)

The following information is cleared from the course during recompletion:

  • All activity grades cleared (and saved to standard grade history tables.)
  • All activity completion and course completion flags removed. (with the option to archive this information)

The following activities allow their data to be deleted and archived:

  1. Assignment - You can also choose to give the student another attempt (if the assignment is configured to allow reopening and the maximum number of attempts has not been reached.

  2. Quiz - You can keep the existing attempts and give the student the ability to add new attempts.

  3. Choice activity.

  4. SCORM

  5. LTI 

  6. Lesson

  7. core Hvpactivity and 3rd party mod_hvp plugins are supported.

  8. Pulse - resets notifications.

  9. Questionnaire

  10. Custom certificate (mod_customcert) - resets/removes the old certificate.

  11. Course certificate (mod_coursecertificate)

  12. Hotpot

Other activities that store user data will have the activity completion data reset, but may require manual intervention as they are not yet supported fully. Get in touch privately if you would like to fund support for other activities with user data.

For more information on the current issues with this plugin please see the issues tracker:


Screenshot #0


Dan Marsden (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Dan Marsden
    Tue, Jul 19, 2022, 5:17 AM
    as mentioned above.... You will have to write your own reports to view this archived data - no reports are currently included in this plugin.

    I'm hoping that at some point I'll get a chance to write some report-builder sources for Moodle 4.0 and higher, but pull requests and or funding to develop improvements are always welcome smile
  • Almants Ra
    Thu, Jul 28, 2022, 4:18 PM
    Thanks, Dan!
    I missed the thing about own report smile
  • James Peter
    Tue, Nov 8, 2022, 1:54 PM
    i was searching for such an option in Moodle and finally i reached here
    could you please let me know this plug in is possible for below

    1. h5p activity reset
    2. Old issued certificate data reset

    Thanks a lot
  • Dan Marsden
    Tue, Nov 8, 2022, 2:01 PM
    @James - Grades and activity completion records are cleared from h5p and certificates, but h5p and certificates really need special handling (further development) to work well - so... no it isn't something currently supported.
  • David Lucha
    Fri, Feb 17, 2023, 9:24 AM
    Hi Dan, first, I want to say thank you for your plugin, it's an incredible addition to the Moodle system.

    I work for a facilities services provider and we're using Moodle to handle company training. We need our staff to complete their training once a year, and that's where course recompletion comes in. Right now, I just have their courses set up for recompletion every 365 days. But this means that each staff member is on their own 'annual cycle' relative to when they first complete the course. Ideally though, we would like courses to archive completion data and reset on the 1st of January every year.

    Is there any way to do this with the plugin?
  • Dan Marsden
    Fri, Feb 17, 2023, 10:23 AM
    @David - great to hear you find it useful. No that is not currently a feature it provides, however you can bulk change the "completion date" of users manually to 1st Jan on the "Modify course completion dates" page within the plugin but you would also have to do this each time someone completes a course - for example a new staff member who is hired in March and complete it in April.
  • David Lucha
    Fri, Feb 24, 2023, 6:24 AM
    @Dan - thanks for the quick response Dan. Unfortunately with ~2000 staff that probably won't be viable but nice to know that's an option. Thanks again.
  • Lawrence Symes
    Mon, May 15, 2023, 10:40 AM
    Odd issue-sometimes the plugin clears feedback notes and feedback files, I have not noticed consistency behind this behaviour, other than it happens daily. We are using feedback files and notes to show when the most recent training has expired. When this behaviour happens, assignment status reverts to reopened, and everything else disappears from the assignment - view all submissions page. When working as expected only the submission and final grade is cleared, feedback notes with the expiry date and attached file are still present in the view all submissions page. Moodle v 4.0
  • Lawrence Symes
    Mon, May 15, 2023, 12:30 PM
    Further troubleshooting, I have changed assignment submission attempts from unlimited to 1, which seems to be working for the moment -a reset course only clears the final grade and completion status and retains feedback files and notes, submitted files …in the view all submissions page.

    Unsure if this is the root cause?
  • Lawrence Symes
    Wed, Jun 14, 2023, 8:38 AM
    Hi Team, thank you for the great plug in. I have noticed two small issues

    1. Reports: Completion Report: clicking on a student: Completion date does not show modified completion dates.

    2. Modified completion dates will reset to current date/time with *any* change to an assignment even if the grade/completion status has not changed -for example adding feedback comments. Can this be locked or limited ( eg to only update if completion status changes)

    Any chance these might be looked at in a future update?
  • Dan Marsden
    Wed, Jun 14, 2023, 8:57 AM
    @Lawrence, good to hear you find it useful - there are some limitations to what the plugin can currently do as Moodle will auto-complete things again if the user has met the requirements related to the activity completion rules. Pull requests and or funding for further development is always welcome.
  • Lawrence Symes
    Tue, Jun 20, 2023, 7:34 AM
    Thanks Dan, I've been experimenting with different ways of utilising this plugin, very interesting smile
    The discussion link above is locked, but i'd be interested to share and see what you or others think. I haven't the experience for a pull request, but i have been experimenting with the configurable report plugin and SQL from the recompletion plugin to show completion and expiration dates. The discussion link above is locked but happy to share if there are other places for further discussion.

  • Binu Joy
    Fri, Oct 20, 2023, 7:45 PM
    Can i do course recompletion only for a particular user and not to all the participants of the course..
  • Kate Campbell
    Sat, Nov 11, 2023, 9:35 AM
    Hi, the plugin is working great for lessons and quizzes but it isn't resetting questionnaire activities. I see in the description that there's extra support for questionnaires: "9. Questionnaire - You can choose to delete all existing attempt data with the option to archive the information" which sounds like exactly what I need but I'm not seeing these options in the plugin. Any ideas?
  • Dan Marsden
    Mon, Nov 13, 2023, 8:22 AM
    @Kate - do you have the mod_questionnaire plugin? - or the mod_feedback one? - only support for mod_questionnaire has been added to the current version - not sure why you might not be seeing those options if you have mod_questionniare, but make sure you have the latest version of the plugin to be sure.. (there are also some new improvements in the version available in github that hasn't been pushed to the plugins db yet.)
1 2 3 4 5 6 7 8
Please login to post comments