Rules are instructions to customize behavior into Moodle, through Events, Conditions and Actions. Whenever an event occurs, if the conditions are met, the actions will be triggered.
Here will be listed every type of Events, Conditions and Actions with which you can create a rule.
Events
Events determine when this rule will run. When users trigger any of the specified events, actions will be triggered if the conditions are fulfilled.
The following event types are available. Note that not all event types are applicable to all activity and resource types.
- Activity View: Triggered when an activity or resource is viewed. For example, when a user clicks on a quiz the view event is triggered.
- Activity Completion: Triggered when an activity is marked as complete, based on pre-configured completion criteria. Requires completion tracking to be enabled for the Moodle site and in the course.
- Activity Grade: Triggered when an activity has a grade assigned. This can occur automatically (when a quiz is submitted), or manually (when a grade is entered by an educator). Keep in mind that the user triggering the event may be different than the recipient of the grade.
- Course Entered: Triggered when a user enters the course for the first time during a day. Leaving the course to visit other Open LMS courses and pages will reset the trigger.
- Recurring event: Triggered at specific dates and times in the future, as scheduled by the rule creator. This event can be scheduled to occur daily or weekly at a specific time of day.
- Quiz or Assignment Submitted: Triggered when a quiz or assignment has been submitted. Often used to release new content, without waiting for manually graded items. For example, when a user uploads a paper to an assignment and clicks submit, or when a user clicks submit on a quiz.
- Forum Reply: Triggered when a user replies to a Forum Topic or to another user’s reply to a forum topic.
- Forum Topic Post: Triggered when a user posts a top level Forum Topic within a Forum. This is not triggered on replies.
Conditions
Conditions determine if actions will be triggered when an event occurs. Since the Conditions are optional if no conditions are specified, actions will always be triggered when an event occurs.
The following condition types are available:
- Activity viewed: Checks if an activity or resource has been viewed by the user who triggered the rule.
- Activity completed: Checks if an activity has been marked as complete for the user who triggered the rule. Requires completion tracking to be enabled for the Moodle site and in the course.
- User role check: Checks if the user who triggered the event is a member of a certain role. This may be useful to prevent some rules from triggering for educators.
Comments
0 comments
Article is closed for comments.