This refers to Moodle 3.11 from August 2022 onwards

Moodle Help & Support 

How to enable conditional activities

Completion Tracking allows teachers to specify conditions that define when an activity is considered to be complete e.g. when a certain number of posts have been made, or a grade has been reached or a choice has been made .

You set, for each activity or resource, what constitutes "completion".

For a resource, completion will be equivalent to "view" - this only really checks whether the student has opened the resource, it can't know if they've actually looked at it!
See below for a list of what can constitute completion for activities.

Note: Completion tracking must be turned on BEFORE the conditional  resources  or activities are added.

How to turn on completion tracking 

  1. Navigate to the Moodle module you want to work in.
  2. Click the 'Cogwheel edit' button (top right).
  3. Select 'Edit settings'.

4. Scroll down to the section entitled 'Completion tracking' and from the 'Enable completion tracking' drop-down menu select  'Yes'.

Completion tracking dropdown menu

5. Click on the 'Save and display' button.

To set up an activity conditional on completion of a previous one:

  1. Set up the FIRST resource or activity.
  2. Navigate to your module and click on the 'Turn editing on' button  (top right).
  3. Click on the + Add an activity or resource hyperlink as usual.
  4. Add the resource or activity you want, e.g., Select a File resource and upload a PowerPoint, named Preliminary Material.

       5. Complete the settings.

       6. Under the heading Activity completion

            a. From the 'Completion tracking' drop-down menu choose 'Show activity as complete when conditions are met'.
               For a resource: click the box for 'Student must view this activity to complete it' as the condition (this is the only possible option).

b. For an activity: Set the conditions for completion, e.g., check Require grade: "Student must receive a grade to complete this activity".  

c. (For a forum) Require replies: "Student must post replies: [enter number e.g., 2]" 
or must create one or more discussions (first post in a discussion) or a combination of the two.
For example:

7. Click on the 'Save and return to module' button.

8. Click on the 'Turn editing off' button  in the top right of the main Moodle page.

List of possible Completion Requirement Options for Activities (or resources)


Require view, require grade, must submit
Turnitin AssignmentRequire view, require grade
ChatRequire view
ChoiceRequire view
DatabaseRequire view, require grade, require entries
FeedbackRequire view
Forumrequire view, require grade, require posts, require discussions, require replies
Glossaryrequire view, require grade, require entries
Lessonrequire view, require grade, require and reached, require time spent
Quizrequire view, require grade, require passing grade, require attempts
SCORM Packagerequire view, require grade, require minimum score, require status
Wikirequire view
Workshoprequire view, require grade

Set up the conditional resource or activity

  1. Click on the 'Turn editing on' button  on your Moodle page
  2. Click on the +Add activity or resource hyperlink as usual to add the second resource or activity
  3. Under the 'Restrict access' section heading, click on the 'Add restriction...' button

      4. An 'Add restriction...' pop-up window will open. Click on the 'Activity completion' button.

Add restriction window

5. From the Activity completion drop-down menu select the previous activity that will become a part of the 'condition' (e.g., Preliminary Material)

6. From the additional drop-down menu select 'must be marked complete'

Now the student must complete the first activity (e.g., read/open the PowerPoint Preliminary Material) before the second one is viewable.

Note: Access can also be restricted conditional upon achieving (or not achieving) a grade in an assignment or other graded activity.

Self or manual student completion

It's also possible to allow students to manually mark an activity as completed (but that relies on their honesty - you can compare it with their basic tracking report!). Where the resource is a label, the only way to indicate completion is for the student to manually click 'Mark as done'.

To allow student manual completion

When setting up the activity or resource, in the Activity completion section of the settings page, choose from 'Completion tracking' drop-down menu 'Students can manually mark this activity as completed'

Activity completition showing student manual completion in dropdown

NOTE: Where you have a lot of material for students to work through, students often like to be able to tick boxes themselves to track their progress through the module.

Results of Activity Completion 

For activities requiring students to manually mark an activity as completed, a 'Mark as done' button is shown on the activity page.

Mark as done

If activities or resources are set to 'Show activity as completed when conditions are met' and 'Student must view this activity to complete it' is selected, then students will see a checkbox 'To do: View' . Clicking on the checkbox will then change status to 'Done'.

Activity Completion Reports

You can view a report table with a list of your students and their completion results.

To view the Completion Reports page:

  1. On your module front page click the 'Cogwheel icon' and 'More'

Cogwheel menu with cursor over more

2. Under Reports click on Activity completion

Reports options

This will show a table of your students and their progress.

Student progress chart

You can:

  • Search the table by the first letter of "First name" and/or "Surname"

Searching report by name

  • Export the results to a spreadsheet by clicking on the Download hyperlinks underneath the table.

Download options for reports

Changing Activity Completion Settings

These settings can be changed later by selecting the 'Edit settings' option for a resource or activity.

However if one or more students have already completed a resource of activity, you will see a warning in the Settings page:

Activity completion warning

You can unlock the setting by clicking on the 'Unlock completion options' button, but student progress information up to that point will be lost for that activity or resource.

Copying activities with completion tracking set

If an activity in which completion tracking is set is copied into another module (e.g., copying one form last year into this year's module), then that module must have completion tracking turned on.

Tracking cannot be added retrospectively.

Typical use example

To ask students to complete a Plagiarism test or statement (using a Choice) before they are able to see the assignment and make a submission.

Similar tutorials

The following other resources are also relevant to this topic: