About conditions
Conditions serve as triggers to activate the automation. They are constructed in a modular fashion for enhanced flexibility.
Condition Settings
Under Condition, you can choose one or multiple triggers to activate the automation, meaning a notification. The conditions only apply to active instances in a course. All settings are explained below.
All instance settings are initially inherited by the subordinate template and are displayed in gray. To modify these settings, an override toggle must be activated. Instance-specific options can be edited freely without the need for activation.
Template-exclusive settings are marked green.
Instance-exclusive settings are marked yellow.
General
All: All the selected triggers must occur to activate the automation.
Any: At least one selected trigger must occur to activate the automation.
Activity Completion
The automation will be triggered when one or more activities within the course are marked as complete. You can choose whether ‘All’ activity completions or only ‘Upcoming’ completions will trigger the automation.
Select activities (instance)
In the instance, you can select which activities should trigger the automation. If multiple activities are selected, all of them have to meet their completion criteria to fulfill this condition.
Only activities within the instance's course that have completion conditions configured in their settings will be available.
Cohort Membership
The automation will be triggered if the user is a member of a specific cohort. You can choose whether ‘All’ cohort memberships or only ‘Upcoming’ memberships will trigger the automation.
Select cohorts (instance)
In the instance, you can select which cohorts should trigger the automation. The condition is met when a user is a member of at least one of the selected cohorts.
Course Completion
The automation will be triggered when the course is marked complete. You can choose whether ‘All’ course completions or only ‘Upcoming’ completions will trigger the automation.
User enrollment
The automation will be triggered when a user is enrolled in a course. You can choose whether ‘All’ user enrollments or only ‘Upcoming’ enrollments will trigger the automation.
Events completion
The automation will be triggered when a Moodle event directly related to an activity is logged. You can choose whether ‘All’ event completions or only ‘Upcoming’ completions will trigger the automation.
Once you have chosen one of these options, the event, user, and event module settings appear.
Event
This setting lets you choose which event should trigger the automation.
Only activity-related events can be used as a trigger.
User
This setting allows you to select which user will be monitored for the specified event and will receive the notification. The available options are ‘Affected user’ and ‘Related user’.
When grading an activity, for example, the affected user is the student, while the related user is the teacher assigning the grade.
Event module (instance)
This setting allows you to select the module in the instance’s course to which the above chosen event should relate to.
Session booking
The automation will be triggered when a session of a Face-to-Face activity is booked. You can choose whether ‘All’ session bookings or only ‘Upcoming’ session bookings will trigger the automation.
Select session (instance)
In the instance, you can select which session module should trigger the automation.