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 viewed: Triggered when an activity or resource is viewed. For example, when a user clicks on a quiz the view event is triggered.
- Activity completed: 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 graded: 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.
- User added to group: Triggered when a user has been manually added to a group, or automatically by a different rule in the Personalized Learning Designer, or automatically from changes in Conduit.
- User removed from group: Triggered when a user has been manually removed from a group, or automatically by a different rule in the Personalized Learning Designer, or automatically from changes in Conduit.
- 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.
- Course grade changed: Triggered when any grade in the course changes the Course Grade (located in the Gradebook).
- Specific date and time: Triggered at a specific date and time, as scheduled by the rule creator. This date can be set in the future to check conditions at that point. Note that this event does not have a triggering activity.
- 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.
- Course start date: Triggered at a specific number of days before or after the course start date.
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.
- Course login: This condition checks to see if the user has logged into the course or not in a certain number of days. For example, a course may have a requirement that users login once a week.
- Activity grade range: Checks if the grade for an activity is within configurable bounds. For activities which allow multiple submissions, the grade used is the overall grade for the activity, not necessarily the most recent submission.
- Course grade range: Checks if a course grade is within a specific range.
- Group membership check: Checks if a user is within a specific group.
- Date check: Checks if an event takes place before or after a designated date.
Comments
0 comments
Article is closed for comments.