"Conditions" are logic statements that can be evaluated as "TRUE" or "FALSE". They follow this structure:
An action, a value, a value type, a data type, a container, and a constraint.
For example, a rule might read: Earn (action) 10 (value) percent of (data type) points (value type) in the class (container) by January 15th (constraint).
Here are other examples of achievement rules:
Maintain 10 points in the Attendance assignment group during the past 14 days.
Complete 50 percent of the Exams module
The following options are available:
Possible actions include "Earn", "Maintain", and "Complete"
Possible data types include "Count of" and "Percent of"
Possible value types include "Points", "Page Views", and "Participations"
Possible containers include "Course", "Assignments", "Assignment Groups", "Modules", "Tags", and "Outcomes"
Possible constraints include "by date", "during the past x days", "during the past x assignments", and "x number of days from date"
Add a Condition - Click + Add Condition to add one or more conditions to a rule.
Remove a Condition - Click X Remove Condition in a "condition tile" to remove a condition from a rule. This action cannot be undone.
Match "All"/"Any" of the Conditions - If your rule contains multiple conditions, then you can select whether to Match "All"/"Any" of the Conditions.
Matching "All" conditions can be thought of as matching the first condition AND the second condition AND the third condition, etc. In other words, all of the conditions must be true for a student to earn the achievement.
Matching "Any" conditions can be thought of as matching the first condition OR the second condition OR the third condition, etc. In other words, any of the conditions must be true for a student to earn the achievement.
Sub-Conditions - Click + Add Sub-Condition to add a sub-condition "inside" of another condition. A condition can have multiple sub-conditions, and these sub conditions can be matched with "All" or "Any" as described above.
Conditions and sub-conditions can be nested to make complex rules using the various "match any/all conditions" statements. For example, you could create a rule like this: Match condition 1 AND condition 2, OR, match condition 3 AND condition 4.
Note: While it is possible to make complex rules, we don't recommend it. It is easier and more motivating for students to have a simple target to work towards.