About
Events completion can be used as a condition to trigger actions when specific Moodle events occur.
Notes: The selectable events must be configured in the global events completion settings.
Available settings
Events completion
Determines whether the condition is active and which events are evaluated.
Disable – Disables the condition.
All – Actions are triggered by all matching events.
Upcoming – Actions are only triggered by events that occur after the automation instance is activated.
Event
Select the event that should be evaluated.
User
Select which user should be evaluated for the selected event.
Affected user – The user whose data or state is affected by the event.
Related user – A user linked to the event action, if available.
All – Evaluates both affected and related users.
Event context
Defines where the event must occur to satisfy the condition.
None – Events that occur at system level satisfy the condition.
Everywhere – Events that occur within the automation instance's course satisfy the condition.
Selected activities – Only events that occur within the selected activities satisfy the condition.
Event module(s)
Select the activities that should be evaluated.
Note: If multiple activities are selected, the condition is fulfilled when the event occurs in any one of them.