1. Three types of conditional activities
1.1 By dates
1.2 By grade condition
1.3 By activity completion
1.3.1 Activity completion settings
1.3.2 Require view
1.3.3 Require grade
1.3.4 Require posts
1.3.5 Require discussions
1.3.6 Require replies
2. Setup conditional activities
1. Three types of conditional activities
Conditional activities allow teachers to restrict the availability of any activity by dates1, grade obtained2, or activity completion3.
Access from/to dates determine when students can access the activity via a link on the course page.
This setting determines any grade conditions which must be met in order to access the activity.
If enabled, activity completion is tracked, either manually or automatically, based on certain conditions.
A tick next to the activity name on the course page indicates when the activity is complete.
There are three options:
When this option is turned on, students have to view the activity in order to complete it.
When this option is turned on, students have to get a grade on the activity in order to complete it. For example, a quiz would be marked completed as soon as the user submits it.
It does not matter how well the student did. Getting any grade will mark the activity completed.
This setting is seen in forums. For the forum to be classed as "complete" the student must either start a discussion or reply to a discussion. The number of posts they must make can be specified in the box.
This setting is seen in forums. For the forum to be classed as "complete", the student must start a discussion topic. The number of posts they must make can be specified in the box.
This setting is seen in forums. For the forum to be classed as "complete" the student must reply to a discussion. The number of posts they must make can be specified in the box.

Figure 2 - Click the edit icon to update the activity

Figure 3 - Edit the items in "Restrict blocks" and "Activity completion"